Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A,B,C = input().split()
- pi = 3.14159
- D = float(A)
- E = float(B)
- F = float(C)
- Triangle = D*F/2
- Circle = pi*F**2
- Trapezoid = (D+E)*F/2
- Square = E**2
- Rectangle = D*E
- print("TRIANGULO: %.3f"%Triangle)
- print("CIRCULO: %.3f"%Circle)
- print("TRAPEZIO: %.3f"%Trapezoid)
- print("QUADRADO: %.3f"%Square)
- print("RETANGULO: %.3f"%Rectangle)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement