Guest User

Untitled

a guest
Oct 30th, 2011
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. for letter, count in hand.iteritems():
  2.     if word.count(letter) > count:
  3.         return False
  4.  
  5. if word not in word_list:
  6.     return False
  7.  
  8. return True
  9.  
Advertisement
Add Comment
Please, Sign In to add comment