X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=lightcards%2Fdeck.py;h=110c5b4fdcee15ab50a27c5eca2ea52dfa3a0ee7;hb=468d491893758e3b9ac532757ea98791303f4a6d;hp=f5ad58310a223895a97f8570dbbc2e8b90acbdb0;hpb=65cb608a985f5168edfa6e2833f37bc812274a2f;p=lightcards.git diff --git a/lightcards/deck.py b/lightcards/deck.py index f5ad583..110c5b4 100644 --- a/lightcards/deck.py +++ b/lightcards/deck.py @@ -15,6 +15,9 @@ class Card: if len(inp) >= 2: self.back = inp[1] + def __str__(self): + return f"{self.front}, {self.back}" + def unStar(self): self.starred = False