Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #word would be "abraham"
- #guess would be "a"
- index = 0
- while index < len (word):
- if word [index] == guess
- return index
- index = index +1
- return "not found"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement