added typehints

This commit is contained in:
2026-04-16 14:16:23 -04:00
parent 864d07348d
commit 34e88112c6
7 changed files with 21 additions and 11 deletions

View File

@@ -31,6 +31,8 @@ class Card:
def __add__(self, other) -> int:
#Adding 2 cards together
return "Cat"
if isinstance(other, Card):
return self._value + other._value
elif isinstance(other, int):