Mod Divmod

  • + 0 comments
    from __future__ import division
    a = int(input())
    b = int(input())
    
    print (a//b)
    print (a%b)
    print(divmod(a, b))
    

    all you need is to print them using the operators as done above.