Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get multiple inputs in python

x = list(map(int, input("Enter multiple values: ").split()))
print("List of students: ", x)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #multiple #inputs #python
ADD COMMENT
Topic
Name
1+5 =