Skip to main content
1 of 2
Jonathan Allan
  • 110.2k
  • 7
  • 65
  • 282

Jelly, 3 bytes

>ŻY

A full program that accepts a non-negative integer, \$x\$, and prints \$x\$ ones followed by a zero.

Try it online!

Jonathan Allan
  • 110.2k
  • 7
  • 65
  • 282