J
John Smith
Question about an array. Say I have the following array...
textlist = ["Apple", "Orange", "Lemon", "Grape", "Orange", "Melon",
"Orange", "Banana"]
if I did textlist.index("Orage"), I would get "1" returned.
Can anyone tell me how I could retrieve the index number of the 2nd
instance of "Orange"?
Thanks in advance!
textlist = ["Apple", "Orange", "Lemon", "Grape", "Orange", "Melon",
"Orange", "Banana"]
if I did textlist.index("Orage"), I would get "1" returned.
Can anyone tell me how I could retrieve the index number of the 2nd
instance of "Orange"?
Thanks in advance!