Find Angle MBC

  • + 0 comments

    import math

    AB = int(input().strip())
    BC = int(input().strip())

    angle_rad = math.atan2(AB, BC)
    angle_deg = math.degrees(angle_rad)
    result = round(angle_deg)

    print(f"{result}{chr(176)}")