2 ответов
+ 7
These posts can help you out.
https://www.sololearn.com/discuss/12631/?ref=app
https://www.sololearn.com/Discuss/716871/?ref=app
0
To seperate each character into an element in a list, you can do this:
x = list(input())
Or you could do the same thing as your example, except in Python:
x = str(input())
y = []
a = 0
for z in x:
y[a] = z
a += 1