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 = ("area of a triangle")
a=float(input("enter angle in degrees: \n"))
b=float(input("enter angle in degrees: \n"))1
c= round(180-a-b,1)
print ("the answer is ",c, "degrees")
if a==b and b==c and a==c:
    print("this is an equilateral triangle")
    elif a==90 or b==90 or c==90:
        print("this is a right angle triangle")
        elif a==b or b==c or a==c:
            print("this is an isoceles triangle
            ")

Advertisements
Loading...

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