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

Method __ge__

project_euler/problem_054/sol1.py:357–360  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

355 return NotImplemented
356
357 def __ge__(self, other):
358 if isinstance(other, PokerHand):
359 return not self < other
360 return NotImplemented
361
362 def __hash__(self):
363 return object.__hash__(self)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected