-5
\$\begingroup\$

We (nearly) all know about the rhyme "Johny Johny yes papa", that's

johny johny yes papa
eating sugar no papa
telling lies no papa
open your mouth hahaha

Print out this poem in shortest bytes possible!

New contributor
Daemon is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
\$\endgroup\$
4
  • 2
    \$\begingroup\$ moderate challenge, compression schemes aren't that interesting, still nice one. Try Sandbox for your first challenges, so you can get feedback. Thanks! \$\endgroup\$ – Wasif Feb 22 at 16:57
  • \$\begingroup\$ @Razetime Funny, I just made that comment then deleted it. My VTC remains, but I only now realized that that challenge forces submissions to be scored as UTF-8... \$\endgroup\$ – Unrelated String Feb 22 at 17:03
  • \$\begingroup\$ An irony: Rather than trying to reduce the repetitions take more byte than just printing the rhyme! \$\endgroup\$ – Wasif Feb 22 at 17:03
  • 2
    \$\begingroup\$ @Wasif That doesn't particularly matter. We generally close song lyrics challenges as duplicates of the rickroll challenge because while the output is different there actual strategies are the same every time. \$\endgroup\$ – Wheat Wizard Feb 22 at 17:21
0
\$\begingroup\$

PowerShell, 97 bytes

$k=' no papa';'johny '*2+'yes papa';'eating sugar'+$k;'telling lies'+$k;'open your mouth '+'ha'*3

Try it online!

LOL rhyme is 85 bytes!!!! Just +12 bytes to make the answer a bit "interesting".

PowerShell (Boring, yet shorter), 91 bytes

@'
johny johny yes papa
eating sugar no papa
telling lies no papa
open your mouth hahaha
'@

Try it online!

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.