# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     name: python3
# ---

# + [markdown] id="view-in-github" colab_type="text"
# <a href="https://colab.research.google.com/github/diogenesvicente/Phyton/blob/main/triangulo.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>

# + id="IYfX0b4Qy9yk"
r1 = float(input('Digite o lado A '))
r2 = float(input('Digite o lado B '))
r3 = float(input('Digite o lado C '))


if r1 < r2 + r3  and r2 < r1 + r3 and r3 < r1 + r2:
   print ('Os seguimentos acima podem ser um triangulo', end='')
   if r1==r2==r3:
     print(' Equilátero')
   elif r1 != r2 != r3 !=r1:
      print (' Escaleno')
   else: 
     print(' Isoscele')
else:
  print('Não é triangulo')


StarcoderdataJupyterScriptsDedupFiltered