Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get multiple inputs in python using map

x = list(map(int, input("Enter multiple values: ").split()))  
print("List of students: ", x)  
 
PREVIOUS NEXT
Tagged: #multiple #inputs #python #map
ADD COMMENT
Topic
Name
4+8 =