Search
 
SCRIPT & CODE EXAMPLE
 

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)]
Comment

PREVIOUS NEXT
Code Example
Python :: python csv reader skip header 
Python :: string to ascii value python 
Python :: how to get seconds from datetime in python 
Python :: how to get discord username nextcord interactions 
Python :: parse first characters from string python 
Python :: create virtualenv in linux python 
Python :: c vs python 
Python :: list mean python 
Python :: pytorch use multiple gpu 
Python :: pip install specific version 
Python :: python program to count vowels in a string 
Python :: check string equal with regular expression python 
Python :: pandas iterate columns 
Python :: python delete duplicate lines in file 
Python :: make new app folder in django templates dir 
Python :: how to make a pythoon turtle follow another? 
Python :: link python to python3 
Python :: root number in python 
Python :: python add to list with index 
Python :: append element to an array python 
Python :: dataframe fillna with 0 
Python :: python hello world 
Python :: python close browser 
Python :: selectfield flask wtf 
Python :: how to create a new virtualenv 
Python :: python timestamp 
Python :: simple trivia question python 
Python :: instagram login with selenium py 
Python :: Column names reading csv file python 
Python :: rename column pandas 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =