import math as m
import random as r

x = r.randrange(1, 10)
x = float(x)
y = r.randrange(1, 10)
y = float(y)
pi = m.pi

ret = m.atan(x/y)
dgree = ret * 180/pi
print(f'x = {x}, y = {y}')
print(f'탄젠트의 역삼각함수 = {ret}\n세타의 각도 = {dgree}도')

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: