Advertisement
Guest User

Untitled

a guest
Nov 17th, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1.  
  2. #word would be "abraham"
  3. #guess would be "a"
  4. index = 0
  5. while index < len (word):
  6. if word [index] == guess
  7. return index
  8. index = index +1
  9. return "not found"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement