Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

multiline input in python

print("Enter the array:
")   
userInput = input().splitlines()
print(userInput)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiline #input #python
ADD COMMENT
Topic
Name
9+3 =