Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ __str__
Method
__str__
blackJackGUI.py:44–45 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
42
print((
"Invalid card: "
, suit, rank))
43
44
def
__str__(self):
45
return
self.suit + self.rank
46
47
def
get_suit(self):
48
return
self.suit
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected