fork download
  1. a = int(input("enter a number: "))
  2. b = float(input("enter a number: "))
  3.  
  4. add = a+b
  5. print(add)
Success #stdin #stdout 0.03s 9684KB
stdin
1
2
10
42
11
stdout
enter a number: enter a number: 3.0