Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to take input in 2d list in python

rows,column=[int(x) for x in input().split()]
list=[[int(input()) for i in range(column)] for j in range(rows)]
 
PREVIOUS NEXT
Tagged: #input #list #python
ADD COMMENT
Topic
Name
5+5 =