Skip to main content
added 7 characters in body
Source Link
Gymhgy
  • 8k
  • 11
  • 35

C# (Visual C# Interactive Compiler), 153153 131 bytes

foreach(var i in"Baby Daddy Mommy Grandpa Grandma".Split())Write(string.Concat(Enumerable.Repeat(i+"{var a=i+" Shark doo doo doo doo doo doo\n",3))+i+"doo\n";Write(a+a+a+i+" Shark!\n");}

Try it online! Thanks to @Destrogio for saving 30 bytes!

Try it online!

C# (Visual C# Interactive Compiler), 153 bytes

foreach(var i in"Baby Daddy Mommy Grandpa Grandma".Split())Write(string.Concat(Enumerable.Repeat(i+" Shark doo doo doo doo doo doo\n",3))+i+" Shark!\n");

Try it online!

C# (Visual C# Interactive Compiler), 153 131 bytes

foreach(var i in"Baby Daddy Mommy Grandpa Grandma".Split()){var a=i+" Shark doo doo doo doo doo doo\n";Write(a+a+a+i+" Shark!\n");}

Thanks to @Destrogio for saving 30 bytes!

Try it online!

Source Link
Gymhgy
  • 8k
  • 11
  • 35

C# (Visual C# Interactive Compiler), 153 bytes

foreach(var i in"Baby Daddy Mommy Grandpa Grandma".Split())Write(string.Concat(Enumerable.Repeat(i+" Shark doo doo doo doo doo doo\n",3))+i+" Shark!\n");

Try it online!