SHARE
TWEET

Untitled

a guest Nov 17th, 2012 46 Never
  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"
RAW Paste Data
Top