Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A,B,C = input().split()
- A = float(A)
- B = float(B)
- C = float(C)
- if A + B > C and A + C > B and B + C > A :
- keliling = A + B + C
- print("Perimetro = %.1f"%keliling)
- else :
- luas = ((A+B)*C)/2
- print("Area = %.1f"%luas)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement