Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python input with space

In []:
list(map(int, input().split()))

Input:
1 2 3 4 5

Out[]:
[1, 2, 3, 4, 5]
Source by www.reddit.com #
 
PREVIOUS NEXT
Tagged: #python #input #space
ADD COMMENT
Topic
Name
9+3 =