We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Math
- Mod Divmod
- Discussions
Mod Divmod
Mod Divmod
Sort by
recency
|
381 Discussions
|
Please Login in order to post a comment
Here is HackeRank Mod Divmod in python solution - https://programmingoneonone.com/hackerrank-mod-divmod-problem-solution-in-python-programming.html
Here is a Simple code of it:
n1=int(input()) n2=int(input()) print(n1//n2) print(n1%n2) print(f"{(n1//n2, n1%n2)}")