Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def printpretty(x):
- for i in x:
- print(*i)
- A = [['0' if j % 2 == 1 and i % 2 == 1 else '1' for i in range(m)]for j in range(n)]
- printpretty(A)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement