fork download
  1. x=int(input())
  2. y=int(input())
  3. print(x, ":", y, "=", x/y, "r", x%y)
  4.  
  5.  
  6.  
  7.  
  8.  
Success #stdin #stdout 0.07s 14028KB
stdin
10
5
stdout
10 : 5 = 2.0 r 0