Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def is_2_pair(self):
- pair = 0
- counts = self.count_card_values()
- for number in counts:
- if number == 2:
- pair += 1
- if pair == 2:
- return True
- else:
- continue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement