0
How to covert the input as a list?
can anyone tell me how to convert the given input by user as a List
5 Réponses
+ 2
Mr. 12 Use split function
+ 2
Please endeavor to use the search bar😃😃
Questions like this have been asked before
https://www.sololearn.com/discuss/1034655/?ref=app
https://www.sololearn.com/discuss/862349/?ref=app
https://www.sololearn.com/discuss/815035/?ref=app
https://www.sololearn.com/discuss/1322474/?ref=app
https://www.sololearn.com/discuss/1147118/?ref=app
https://www.sololearn.com/discuss/2388395/?ref=app
+ 1
AJ Anant #G3 Thank You Bro, I Got It.
0
If you have a space separated input then use input().split()
It will turn the input items in a list .....