fork download
  1. #This is my PYTHON program
  2. import math
  3. x1 = 2.6
  4. x2 = 2.8
  5. a = 3
  6. b = 6
  7. c = (math.pow(x2, 2) + math.pow(x1, 2) - a) / (x1 + b)
  8. print("Result c =", round(c, 4))
  9.  
Success #stdin #stdout 0.02s 7512KB
stdin
Standard input is empty
stdout
('Result c =', 1.3488)