Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Execute Python-3 Online

print("angles of a triangle")
a=float(input("enter an angle in degrees:\n"))
b=float(input("enter another angle in degrees:\n"))
c=round(180 - a - b)
print("angle three is",c,"degrees")
if a==b and a==c and b==c:
    print("This is an equalataral Triangle")

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.