diff --git a/TP9/card.py b/TP9/card.py index 177bda13bc6745bb8e69bc1557540ecd168ef2ba..f61e0ad12b3f15128055ca936b2cceb69858be35 100755 --- a/TP9/card.py +++ b/TP9/card.py @@ -170,7 +170,7 @@ class Card(object): return True if self is inferior or equal to card False otherwise """ - ... + return self.compare(card) <= 0 def __gt__(self, card: Card) -> bool: """