Skip to content
Snippets Groups Projects
Commit a0ee5658 authored by Tanoh Mbah-ange-pascal's avatar Tanoh Mbah-ange-pascal
Browse files

maj TP8 card.py

parent d1b91e68
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ class Card(object):
$$$ str(Card('Ace', 'heart'))
'Ace of heart'
"""
...
return f"{self.value} of {self.color}"
def compare(self, card: Card) -> int:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment