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

Method __str__

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

Source from the content-addressed store, hash-verified

328 return f'{self.__class__}("{self._hand}")'
329
330 def __str__(self):
331 return self._hand
332
333 # Rich comparison operators (used in list.sort() and sorted() builtin functions)
334 # Note that this is not part of the problem but another extra feature where

Callers 2

sol1.pyFile · 0.45

Calls

no outgoing calls

Tested by 1