Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # implement a does_beat method on the class
- if my_hand.does_beat(other_hand):
- pot.raise()
- # implement __ge__, __gt__, __lt__ and __le__ methods on that class (greater than or equal, greater than etc.)
- if my_hand > other:
- pot.raise()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement