SHARE
TWEET

Untitled

a guest May 24th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     def is_2_pair(self):
  2.         pair = 0
  3.         counts = self.count_card_values()
  4.         for number in counts:
  5.             if number == 2:
  6.                 pair += 1
  7.             if pair == 2:
  8.                 return True
  9.             else:
  10.                 continue
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top