Listing

Adding items to sequence

>>> 
>>> l="Python Lake"
>>> m=list(l)
>>> m
['P', 'y', 't', 'h', 'o', 'n', ' ', 'L', 'a', 'k', 'e']
>>> 
>>> 
>>> l="python lake"
>>> list(l)
['p', 'y', 't', 'h', 'o', 'n', ' ', 'l', 'a', 'k', 'e']
>>> 



Listing

Return strings values in the lists.


Comments