a=6b=12c=12h=5def obwod(a,b,c): return(a+b+c)def pole (a,h): return a*h/2print("obwod wynosi", obwod(a,b,c))print("obwod wynosi", pole (a,h))
Standard input is empty
obwod wynosi 30 obwod wynosi 15.0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!