Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to take multiple input in list in python

x = list(map(int, input().split()))
print(x)
Comment

multiple input to list

x = list(map(int, input("Enter multiple values: ").split()))
Comment

PREVIOUS NEXT
Code Example
Python :: create 2d array python list comprehension 
Python :: port 5432 failed: timeout expired 
Python :: get table selenium python pandas 
Python :: python django shell command 
Python :: wolfram alpha python module 
Python :: python yaml to dict 
Python :: django and operator 
Python :: shutil remove 
Python :: case in python 
Python :: python warning 
Python :: should i make tkinter in classes ? , Best way to structure a tkinter application? 
Python :: check strings last letter python 
Python :: python currency symbol 
Python :: how to practise python 
Python :: beautifulsoup remove element 
Python :: create bigram in python 
Python :: python chat application 
Python :: Inconsistent use of tabs and spaces in indentationPylance 
Python :: python remove multiple characters from string 
Python :: sleep in python 3 
Python :: pip install google cloud secret manager 
Python :: user group template tag django 
Python :: python for else 
Python :: Python cheat sheet pdf download 
Python :: ImportError: No module named colored 
Python :: change date format python code 
Python :: python strptime format codes 
Python :: imblearn randomoversampler 
Python :: Get game status discord.py 
Python :: dataframe drop rows by column value 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =