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

Method __gt__

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

Source from the content-addressed store, hash-verified

350 return NotImplemented
351
352 def __gt__(self, other):
353 if isinstance(other, PokerHand):
354 return not self < other and self != other
355 return NotImplemented
356
357 def __ge__(self, other):
358 if isinstance(other, PokerHand):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected