Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n, m = map(int, input().split())
- #############
- mx = [[0 for i in range(m)] for j in range(n)]
- for i in range(n):
- a = list(map(int, input().split()))
- for j in range(m):
- mx[i][j] = a[j]
- print(mx)
- ############
- mx = []
- for i in range(n):
- a = list(map(int, input().split()))
- mx.append(a)
- print(mx)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement