0

so what is short for list? Because it says (list)

21st Sep 2016, 11:52 PM
sophie
sophie - avatar
2 odpowiedzi
+ 1
x = 'abc' y = list(x) print(x) = 'abc' print(y) = ['a', 'b', 'c']
22nd Sep 2016, 8:50 PM
vyavas
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']
21st Dec 2016, 5:02 PM
nastaran