how to take input a matrix using map in python

Solutions on MaxInterview for how to take input a matrix using map in python by the best coders in the world

showing results for - "how to take input a matrix using map in python"
Facundo
10 Aug 2018
1s = 3
2a = []
3for i in range(s):
4    res = list(map(int, input().split(' ')))
5    a.append(res)
6print(a)
7
similar questions