Skip to main content
added 51 characters in body
Source Link
totallyhuman
  • 17.3k
  • 3
  • 33
  • 88

Python 2, 5858 52 bytes

-6 bytes thanks to offcialaimm.

Uses Martin's algorithm which I have no understanding of how he came up with it so fast. o0

r=range(1,11)
print[[x*y%11%10for y in range(1,11)]forr]for x in range(1,11)]r]

Try it online!Try it online!

Python 2, 58 bytes

Uses Martin's algorithm which I have no understanding of how he came up with it so fast. o0

print[[x*y%11%10for y in range(1,11)]for x in range(1,11)]

Try it online!

Python 2, 58 52 bytes

-6 bytes thanks to offcialaimm.

Uses Martin's algorithm which I have no understanding of how he came up with it so fast. o0

r=range(1,11)
print[[x*y%11%10for y in r]for x in r]

Try it online!

Source Link
totallyhuman
  • 17.3k
  • 3
  • 33
  • 88

Python 2, 58 bytes

Uses Martin's algorithm which I have no understanding of how he came up with it so fast. o0

print[[x*y%11%10for y in range(1,11)]for x in range(1,11)]

Try it online!