fork download
  1. a = float(input())
  2. b = float(input())
  3. h = float(input())
  4. pole=(a+b)*h/2
  5. print("Pole trapezu jest rowne","%.2f"%pole)
Success #stdin #stdout 0.02s 8932KB
stdin
3.5
4.7
3.2
stdout
Pole trapezu jest rowne 13.12