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("Angle of triangle")
a = float(input("Enter a in degrees:\n"))
b = float(input("Enter b in degrees:\n"))
c = round(180-a-b,1)
print("The missing angle is" ,c, "degrees")
if a==b or a==c or b==c:
    print("this is a equilateral")
elif a==b or a==c or b==c:
    print("this is a isoseles")
elif a==60 or b==60 or c==60:
    print("this is a right angle triangle")
else :
    print("this is a scalene")
print("")
print("......................................................................")
print("Instrutions")
print ("Type your program code")
print ("Click the edit symbol next to the name at the top")
print ("click execute to run the code")
print ("The results are shown in the white box of what you have done")
print ("Name it")
print("Click ok")
print("and start")
print ("but in order to start the speach type")
print ("PRINT but no capitals")
print ("if it is orange it works if it is not then it is wrong")

Advertisements
Loading...

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