Jan-30-2025, 07:39 PM
I've got a text variable, my_word.
I want to run a for loop
For letter in my_word:
if letter == "f"
I want to know the index number of the letter that's being tested to see whether it's an f
Thanks.
I want to run a for loop
For letter in my_word:
if letter == "f"
I want to know the index number of the letter that's being tested to see whether it's an f
Thanks.