Mod Divmod

  • + 0 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")