Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def my_find1(word, character_to_search_for):
- letter_found = []
- for count in range(len(word)):
- if word[count] == character_to_search_for:
- letter_found.append(count)
- return letter_found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement