Find Angle with Python – math
Question: Below are for input instruction: Output instructions: Sample input: 2412 Output: 27 Solution: import math def main(): sidePQ = int(input()) sideQR = int(input()) tan = sidePQ/sideQR anglePQS = round(math.degrees(math.atan(tan))) print(anglePQS) main()