MCPcopy Create free account
hub / github.com/geekcomputers/Python / __str__

Method __str__

classicIndianCardMatch.py:33–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 print("Invalid card: ", suit, rank)
32
33 def __str__(self):
34 return self.suit + self.rank
35
36 def getRank(self):
37 return self.rank

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected