Skip to main content
added 19 characters in body
Source Link
njha
  • 997
  • 1
  • 6
  • 10

Python 3, 105 9797 96 bytes

for x in"Baby","Daddy","Mommy","Grandpa","Grandma":printz=x+' Shark';print((x+' Shark'+'z+' doo'*6+"\n")*3+x,"Shark*3+z+"!")

Try it online!

A simple Python 3 solution. (89 bytes saved by Jo King and Quintec)

Python 3, 105 97 bytes

for x in"Baby","Daddy","Mommy","Grandpa","Grandma":print((x+' Shark'+' doo'*6+"\n")*3+x,"Shark!")

Try it online!

A simple Python 3 solution. (8 bytes saved by Jo King and Quintec)

Python 3, 105 97 96 bytes

for x in"Baby","Daddy","Mommy","Grandpa","Grandma":z=x+' Shark';print((z+' doo'*6+"\n")*3+z+"!")

Try it online!

A simple Python 3 solution. (9 bytes saved by Jo King and Quintec)

added 31 characters in body
Source Link
njha
  • 997
  • 1
  • 6
  • 10

Python 3, 105105 97 bytes

for x in["Baby"in"Baby","Daddy","Mommy","Grandpa","Grandma"]"Grandma":
    print((x+' Shark'+(' doo'*Shark'+' 6)+"\n"doo'*6+"\n")*3+x+" Shark*3+x,"Shark!")

Try it online!Try it online!

A simple Python 3 solution. (8 bytes saved by Jo King and Quintec)

Python 3, 105 bytes

for x in["Baby","Daddy","Mommy","Grandpa","Grandma"]:
    print((x+' Shark'+(' doo'* 6)+"\n")*3+x+" Shark!")

Try it online!

A simple Python 3 solution.

Python 3, 105 97 bytes

for x in"Baby","Daddy","Mommy","Grandpa","Grandma":print((x+' Shark'+' doo'*6+"\n")*3+x,"Shark!")

Try it online!

A simple Python 3 solution. (8 bytes saved by Jo King and Quintec)

Source Link
njha
  • 997
  • 1
  • 6
  • 10

Python 3, 105 bytes

for x in["Baby","Daddy","Mommy","Grandpa","Grandma"]:
    print((x+' Shark'+(' doo'* 6)+"\n")*3+x+" Shark!")

Try it online!

A simple Python 3 solution.