You are viewing a single comment's thread. Return to all comments →
Here is a Simple code of it:
# Enter your code here. Read input from STDIN. Print output to STDOUT x=int(input()) y=int(input()) divm=divmod(x,y) print(divm[0],divm[1],divm,sep="\n")
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 →
Here is a Simple code of it: