You are viewing a single comment's thread. Return to all comments →
a = eval(input())
b = eval(input())
print(f"{a//b}\n{a%b}\n{divmod(a,b)}")
directly 3lines of code using f string concept
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 = eval(input())
b = eval(input())
print(f"{a//b}\n{a%b}\n{divmod(a,b)}")
directly 3lines of code using f string concept