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

Method __repr__

project_euler/problem_054/sol1.py:327–328  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

325 return sorted(card_values, reverse=True), card_suit
326
327 def __repr__(self):
328 return f'{self.__class__}("{self._hand}")'
329
330 def __str__(self):
331 return self._hand

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected