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
|
369 Discussions
|
Please Login in order to post a comment
a = int(input())
b = int(input())
result = divmod(a, b)
print(result[0])
print(result[1])
print(result)
Here's my code