fork download
  1. a=6
  2. b=12
  3. c=12
  4. h=5
  5. def obwod(a,b,c):
  6. return(a+b+c)
  7. def pole (a,h):
  8. return a*h/2
  9. print("obwod wynosi", obwod(a,b,c))
  10. print("obwod wynosi", pole (a,h))
Success #stdin #stdout 0.04s 9504KB
stdin
Standard input is empty
stdout
obwod wynosi 30
obwod wynosi 15.0