Skip to content
Snippets Groups Projects
Commit 7b86c808 authored by Belfadel Mohamed's avatar Belfadel Mohamed
Browse files

__le__

parent 148ecb2d
No related branches found
No related tags found
No related merge requests found
......@@ -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:
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment