Created
August 6, 2019 01:34
-
-
Save saulcosta/3392e4cf570fbffc439c6c87d88db7c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
class Card: | |
def __init__(self, suit, value): | |
self.suit = suit | |
self.value = value | |
def __repr__(self): | |
return " of ".join((self.value, self.suit)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment