+ 2

Who can i get an array of input in python ?

please write a code related to it.

17th Feb 2018, 5:43 AM
Jashan Singh
Jashan Singh - avatar
1 Answer
+ 1
Assuming you're wondering how to do so, wrap the input function around a list function which splits all of the characters within the string (including whitespaces) into a list. For example: x = list(input()) print(x)
17th Feb 2018, 5:50 AM
Faisal
Faisal - avatar