Skip to content

Instantly share code, notes, and snippets.

@saulcosta
Created August 6, 2019 01:34
Show Gist options
  • Save saulcosta/3392e4cf570fbffc439c6c87d88db7c4 to your computer and use it in GitHub Desktop.
Save saulcosta/3392e4cf570fbffc439c6c87d88db7c4 to your computer and use it in GitHub Desktop.
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