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 :: index duplicates python 
Python :: video steganography using python 
Python :: pyqt setfocus 
Python :: tkinter canas can you use other fonts 
Python :: creating a python virtual environment 
Python :: argparse positional arguments 
Python :: how to print a newline in python 
Python :: circular cropping of image in python 
Python :: Detect Word Then Send Message (discord.py) 
Python :: python how to raise an exception 
Python :: django save object in view 
Python :: iterate through a list and print from index x to y using for loop python 
Python :: print data type array 
Python :: link_to class 
Python :: hyperparameters 
Python :: python get object name 
Python :: import matplotlib pyplot as plt 
Python :: isnumeric() in python 
Python :: .counter python 
Python :: python delete list elements 
Python :: updateview 
Python :: pd.concat has nan 
Python :: set default formatter for python vscode 
Python :: flask abort 
Python :: string concatenation in python 
Python :: add two strings together 
Python :: python typing list of specific values 
Python :: how to test value error in pytest in python 
Python :: how to replace a string in py 
Python :: pandas in python 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =