Change string to a list and Reference its index : List : Buildin Function PYTHON examples


PYTHON examples » Buildin Function » List »

 

Change string to a list and Reference its index


Change string to a list and Reference its index

S = 'spammy'
L = list(S)
print L


L[3'x'              # works for lists, not strings
L[4'x'
print L


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Buildin Function
» List