Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # matrix.py
- x, y = 3, 4
- matrix = [[0]*x for _ in range(y)]
- matrix[2][1] = 2
- print matrix
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement