0
so list string uses a 1 index, not the typical 0 index?
2 Respuestas
+ 3
No. Str objects use the same 0 ordinal access as lists. Each letter in a string will become an acccessable item.
0
List starts from 0 index
Fru=["apple","banana"]
print (Fru[0] )