You are viewing a single comment's thread. Return to all comments →
a = int(input())
b = int(input())
result = divmod(a, b)
print(result[0])
print(result[1])
print(result)
Seems like cookies are disabled on this browser, please enable them to open this website
Mod Divmod
You are viewing a single comment's thread. Return to all comments →
a = int(input())
b = int(input())
result = divmod(a, b)
print(result[0])
print(result[1])
print(result)