0

How to covert the input as a list?

can anyone tell me how to convert the given input by user as a List

18th Jul 2020, 6:49 AM
Mr. 12
Mr. 12 - avatar
5 Answers
+ 2
Mr. 12 Use split function
18th Jul 2020, 6:52 AM
A͢J
A͢J - avatar
+ 1
AJ Anant #G3 Thank You Bro, I Got It.
18th Jul 2020, 6:56 AM
Mr. 12
Mr. 12 - avatar
0
If you have a space separated input then use input().split() It will turn the input items in a list .....
18th Jul 2020, 7:05 AM
Md. Mursalatul Islam Pallob
Md. Mursalatul Islam Pallob - avatar