#!/usr/bin/python3import matha = 1.0b = 2.0c = 3.0A = math.degrees(math.acos(math.radians(((b**2 + c**2 - a**2) / 2 * b * c))))B = math.degrees(math.acos(math.radians(((a**2 + c**2 - b**2) / 2 * a * c))))C = math.degrees(math.acos(math.radians(((a**2 + b**2 - c**2) / 2 * a * b))))ravnobedr = (a == b and a == c) or (a == b and b == c) or (a == c and b == c)ravostor = a == b == cpriamoug = A == 90 or B == 90 or C == 90ostroug = A < 90 or B < 90 or C < 90tupoug = A > 90 or B > 90 or C > 90print( '''равнобедренный {}равносторонний {}прямоугольный {}остроугольный {}тупоугольный {}'''.format( ravnobedr, ravostor, priamoug, ostroug, tupoug, ))