Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ Card
Class
Card
BlackJack_game/blackjack_rr.py:51–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
50
51
class
Card:
52
def
__init__(self, suit, rank):
53
self.suit = suit
54
self.rank = rank
55
56
def
__str__(self):
57
return
self.rank +
" of "
+ self.suit
58
59
60
class
Deck:
Callers
1
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected