Advertisement
Bad_Programist

Untitled

Dec 26th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. def printpretty(x):
  2.     for i in x:
  3.         print(*i)
  4. A = [['0' if j % 2 == 1 and i % 2 == 1 else '1' for i in range(m)]for j in range(n)]
  5. printpretty(A)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement