+ 1
How to find the index of dublicate strings ?
If i want to know the index of both 'a' in a word 'mathematics' how can i find it?
7 Answers
+ 7
You can also use the enumerate() function in a for loop, or the index() function repeatedly with error handling.
https://www.programiz.com/JUMP_LINK__&&__python__&&__JUMP_LINK-programming/methods/built-in/enumerate
https://www.programiz.com/python-programming/methods/list/index
+ 4
Tibor Santa
Your these mathods will help me a lot thanks
+ 3
Thanks #kiibo Ghayal and #Tibor Santa
+ 3
0
Show ur attempt