0
so what is short for list? Because it says (list)
2 Respostas
+ 1
x = 'abc'
y = list(x)
print(x) = 'abc'
print(y) = ['a', 'b', 'c']
0
one of the use that this function:
x= "i learn python"
print(list(x))
out put is:
['i', ' ', 'l', 'e' ,' r', 'n', ' ' , 'p' ,'y' ,'t' ,'h' ,'o' ,'n']