Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get input on same line python

n = 2  # how many numbers to accept
numbers = [int(num) for num in input().split(" ", n-1)]

print(numbers)
Source by tutorial.eyehunts.com #
 
PREVIOUS NEXT
Tagged: #input #line #python
ADD COMMENT
Topic
Name
8+7 =