fork download
  1. x=int(input())
  2. y=int(input())
  3. if y!=0: print(x,"/",y,"=",x//y,"r",x%y)
Success #stdin #stdout 0.09s 14136KB
stdin
5
2
stdout
5 / 2 = 2 r 1