Mod Divmod

  • + 0 comments

    x = int(input()) y = int(input()) def divmod(num,divisor): divided = num // divisor mod = num % divisor print(divided) print(mod) return (divided,mod) print(divmod(x,y))