Skip to main content
added 2 characters in body
Source Link
mbomb007
  • 23.5k
  • 7
  • 63
  • 135

Python 2, 40

for n in 1,2,4,8:print 8/n*('0'*n+'1'*n)

Python, 40

for n in 1,2,4,8:print 8/n*('0'*n+'1'*n)

Python 2, 40

for n in 1,2,4,8:print 8/n*('0'*n+'1'*n)
deleted 1 characters in body
Source Link
primo
  • 33.5k
  • 5
  • 61
  • 139

Python, 4140

for n in[1in 1,2,4,8]8:print 8/n*('0'*n+'1'*n)

Python, 41

for n in[1,2,4,8]:print 8/n*('0'*n+'1'*n)

Python, 40

for n in 1,2,4,8:print 8/n*('0'*n+'1'*n)
Source Link
grc
  • 19.1k
  • 9
  • 37
  • 80

Python, 41

for n in[1,2,4,8]:print 8/n*('0'*n+'1'*n)