bok1 = float(input("podaj wymiar 1 boku trójkonta: "))
bok2 = float(input("podaj wymiar 2 boku trójkonta: "))
bok3 = float(input("podaj wymiar 3 boku trójkonta: "))

min_bok = min(bok1, bok2, bok3)
max_bok = max(bok1, bok2, bok3)
obwod = bok1 + bok2 + bok3
mid_bok = obwod - max_bok - min_bok
if bok1 <= 0 or bok2 <= 0 or bok3 <= 0 or max_bok >= min_bok + mid_bok :
    print("podane bloki nie utworzą trójkąta")
    exit()
if bok1 == bok2 == bok3 :
    print("trójkąt równoboczny")
elif bok1 == bok2 or bok1 == bok3 or bok2 == bok3 :
    print("trójkąt równoramienny")
else :
    print("trójkąt jest różnoramienny")













#if bok1 and bok2 and bok3 > 0  :
    #if bok1 > bok2 + bok3 :
        #długi_bok = bok1
   # elif bok2 > bok3 + bok3 :
       #  długi_bok = bok2
    #elif bok3 > bok1 + bok2 :
        # długi_bok = bok2