diff --git a/TP9/card.py b/TP9/card.py index f61e0ad12b3f15128055ca936b2cceb69858be35..bb9525481a8b65a157285b1b4e44285995d34219 100755 --- a/TP9/card.py +++ b/TP9/card.py @@ -177,14 +177,14 @@ class Card(object): return True if self is strictly superior to card False otherwise """ - ... + return self.compare(card) > 0 def __ge__(self, card: Card) -> bool: """ return True if self is superior or equal to card False otherwise """ - ... + return self.compare(card) >= 0 if (__name__ == '__main__'):