fork download
  1. print("The Python 3.9 Subtract/Divide Program.")
  2. num1 = 50
  3. num2 = 25
  4. num3 = (num1 - num2)
  5. print("NUM1 ",num1," NUM2 ",num2," NUM3",num3)
  6. num4 = 289
  7. num5 = 17
  8. num6 = (num4 / num5)
  9. print("NUM4 ",num4," NUM5 ",num5," NUM6 ",num6)
Success #stdin #stdout 0.04s 9708KB
stdin
1
2
10
42
11
stdout
The Python 3.9 Subtract/Divide Program.
NUM1  50  NUM2  25  NUM3 25
NUM4  289  NUM5  17  NUM6  17.0