Skip to main content
Commonmark migration
Source Link

#Pyth, 11 bytes

Pyth, 11 bytes

jm^s*d\12S9

Try it online!


##How does this work?

How does this work?

 m       S9         - Map over [1...9]
  ^s    2           - The square of the integer formed by:
    *d\1            - the string with n consecutive 1s.
j                   - Join by newlines

#Pyth, 11 bytes

jm^s*d\12S9

Try it online!


##How does this work?

 m       S9         - Map over [1...9]
  ^s    2           - The square of the integer formed by:
    *d\1            - the string with n consecutive 1s.
j                   - Join by newlines

Pyth, 11 bytes

jm^s*d\12S9

Try it online!


How does this work?

 m       S9         - Map over [1...9]
  ^s    2           - The square of the integer formed by:
    *d\1            - the string with n consecutive 1s.
j                   - Join by newlines
added 2 characters in body
Source Link
Mr. Xcoder
  • 42.5k
  • 9
  • 81
  • 214

#Pyth, 11 bytes

jm^s*d\12S9

Try it online!


##How does this work?


 m       S9         - Map over [1...9]
  ^s    2           - The square of the integer formed by:
    *d\1            - the string with n consecutive 1s.
j                   - Join by newlines

#Pyth, 11 bytes

jm^s*d\12S9

Try it online!

#Pyth, 11 bytes

jm^s*d\12S9

Try it online!


##How does this work?


 m       S9         - Map over [1...9]
  ^s    2           - The square of the integer formed by:
    *d\1            - the string with n consecutive 1s.
j                   - Join by newlines
Post Undeleted by Mr. Xcoder
added 2 characters in body
Source Link
Mr. Xcoder
  • 42.5k
  • 9
  • 81
  • 214

#Pyth, 1311 bytes

jm^/t^Td9 2STjm^s*d\12S9

Try it online!Try it online!

#Pyth, 13 bytes

jm^/t^Td9 2ST

Try it online!

#Pyth, 11 bytes

jm^s*d\12S9

Try it online!

Post Deleted by Mr. Xcoder
Source Link
Mr. Xcoder
  • 42.5k
  • 9
  • 81
  • 214
Loading