You are viewing a single comment's thread. Return to all comments →
a = int(input()) b = int(input())
mod_div = divmod(a,b)
quotient, remainder = mod_div
print(quotient) print(remainder) print(mod_div)
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())
mod_div = divmod(a,b)
quotient, remainder = mod_div
print(quotient) print(remainder) print(mod_div)