+ 3

What is the right way to transform a Python string into a list?

7th Nov 2020, 7:18 AM
Manas Sahu
Manas Sahu - avatar
3 Antworten
+ 6
https://www.sololearn.com/Discuss/1525057/?ref=app
7th Nov 2020, 7:30 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 1
sting=input() stil=[] n=0 while True: stil.append(sting[int(n)]) n+=1 if n==len(sting) break print(stil)
7th Nov 2020, 7:28 AM
Operand
Operand - avatar