fork download
  1. a = int(input())
  2. b = int(input())
  3. d = a // b
  4. m = a % b
  5. print(a,":",b,"=", d ,"r",m)
Success #stdin #stdout 0.12s 14216KB
stdin
9
2
stdout
9 : 2 = 4 r 1