Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to take two inputs in a single line in python

# taking multiple inputs at a time separated by comma
x = [int(x) for x in input("Enter multiple value: ").split(",")]
print("Number of list is: ", x)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #inputs #single #line #python
ADD COMMENT
Topic
Name
6+4 =