Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created July 2, 2020 06:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IndhumathyChelliah/c013d49727fd4eeb2e268dd0522d87b4 to your computer and use it in GitHub Desktop.
Save IndhumathyChelliah/c013d49727fd4eeb2e268dd0522d87b4 to your computer and use it in GitHub Desktop.
Operator Magic Method
< __lt__(self,other)
<= __le__(self,other)
> __gt__(self,other)
>= __ge__(self,other)
== __eq__(self,other)
!= __ne__(self,other)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment