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

Method __repr__

BlackJack_game/blackjack_simulate.py:76–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 self.built()
75
76 def __repr__(self):
77 return "\n".join([str(card) for card in self.cards])
78
79 def __len__(self):
80 return len(self.cards)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected