Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to input comma separated int values in python

lst = list(map(int, input("Enter comma separated values: ").split(",")))
 
PREVIOUS NEXT
Tagged: #input #comma #separated #int #values #python
ADD COMMENT
Topic
Name
9+2 =