You are viewing a single comment's thread. Return to all comments →
n1=int(input()) n2=int(input()) print(n1//n2) print(n1%n2) print(f"{(n1//n2, n1%n2)}")
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Mod Divmod
You are viewing a single comment's thread. Return to all comments →
n1=int(input()) n2=int(input()) print(n1//n2) print(n1%n2) print(f"{(n1//n2, n1%n2)}")