Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. # implement a does_beat method on the class
  2. if my_hand.does_beat(other_hand):
  3. pot.raise()
  4.  
  5. # implement __ge__, __gt__, __lt__ and __le__ methods on that class (greater than or equal, greater than etc.)
  6. if my_hand > other:
  7. pot.raise()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement