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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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