Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to take space separated input in python

print("Enter the numbers: ")

inp = list(map(int, input().split()))

print(inp)
Source by tutorial.eyehunts.com #
 
PREVIOUS NEXT
Tagged: #space #separated #input #python
ADD COMMENT
Topic
Name
6+3 =