fork download
  1. print("The Python 2.75 Addition/Multiply Program.")
  2. num1 = 25
  3. num2 = 25
  4. num3 = (num1 + num2)
  5. print("NUM1 ",num1," NUM2 ",num2," NUM3 ",num3)
  6. num4 = 35
  7. num5 = 35
  8. num6 = (num4 * num5)
  9. print("NUM4 ",num4," NUM5 ",num5," NUM6 ",num6)
Success #stdin #stdout 0.01s 7076KB
stdin
1
2
10
42
11
stdout
The Python 2.75 Addition/Multiply Program.
('NUM1 ', 25, ' NUM2 ', 25, ' NUM3 ', 50)
('NUM4 ', 35, ' NUM5 ', 35, ' NUM6 ', 1225)