SHARE
TWEET

4q(lista de ferias)

DomMisterSoja Jul 16th, 2018 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x = int(input("Insira o angulo do triangulo\n"))
  2. y = int(input("Insira o angulo do triangulo\n"))
  3. z = int(input("Insira o angulo do triangulo\n"))
  4. while(x+y+z != 180):
  5.     print("Esse triangulo não existe, insira os valores novamente\n")
  6.     x = int(input("Insira o angulo do triangulo\n"))
  7.     y = int(input("Insira o angulo do triangulo\n"))
  8.     z = int(input("Insira o angulo do triangulo\n"))
  9. if((x or y or z)>90):
  10.     print("Esse é um triangulo obtusângulo")    
  11. elif((x or y or z)==90):
  12.     print("Esse é um triangulo retangulo")
  13. elif((x and y and z)<90):
  14.     print("Esse é um triangulo acutângulo")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top