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

Method __init__

BlackJack_game/blackjack_rr.py:52–54  ·  view source on GitHub ↗
(self, suit, rank)

Source from the content-addressed store, hash-verified

50
51class 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected