0

please how can I seperate each words in a string and put in list?? I am beginner .

python

9th Sep 2020, 9:53 PM
Rene Descard
Rene Descard - avatar
2 Answers
0
#crelating empty list l= [] #getting each char from string and appending to list by loop for i in "string" : l.append(i) #printing the list print(l)
9th Sep 2020, 9:55 PM
Jayakrishna 🇼🇳
0
thanks
9th Sep 2020, 9:56 PM
Rene Descard
Rene Descard - avatar