diff --git a/Project 1/Card.py b/Project 1/Card.py index e69de29..294d599 100644 --- a/Project 1/Card.py +++ b/Project 1/Card.py @@ -0,0 +1,14 @@ +class Card: + def __init__(self, suit: str, value: str): + self._suit = suit + self._value = value + + def get_suit(self) -> str: + return self._suit + + def get_value(self) -> str: + return self._value + + def __repr__(self) -> str: + return f"{self._value} of {self._suit}" + \ No newline at end of file