Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def main():
- n = int(input())
- m = int(input())
- mat = []
- for i in range(0, n):
- row = []
- for j in range(0, m):
- x = int(input())
- row.append(x)
- mat.append(row)
- for i in range(0, n):
- for j in range(0, m):
- print(mat[i][j], end=" ")
- print()
- if __name__ == "__main__":
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement