We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Our SimpleMath object should behave like an integer, implement the __mod__ functionality so that we can use the mod operator
__mod__
s1 = SimpleMath(5) s2 = SimpleMath(2) assert s1 % s2 == 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Our SimpleMath object should behave like an integer, implement the
__mod__
functionality so that we can use the mod operatorThe text was updated successfully, but these errors were encountered: