The math.asin() function returns the arc sine(inverse sine) of a given number, x.   

Syntax:
math.asin(x) 

Where x is any real number.

The arc sine is calculated as the angle in radians whose sine is x.

ExampleEdit & Run
import math

x = 0.5

result = math.asin(x)

print(result)
Output:
0.5235987755982989[Finished in 0.010736545082181692s]

The asin() function returns the angle in radians, we can use the math.degrees() to turn the angle into degrees.

ExampleEdit & Run
import math

radians = math.asin(0.5)

degrees = math.degrees(radians)

print(degrees)
Output:
30.000000000000004[Finished in 0.010348822921514511s]
ExampleEdit & Run
import math

print(math.degrees(math.asin(0.7071067811865476)))
print(math.degrees(math.asin(0.8660254037844386)))
print(math.degrees(math.asin(0.9659258262890683)))
print(math.degrees(math.asin(0.984807753012208)))
Output:
45.0000000000000159.9999999999999975.079.99999999999999[Finished in 0.010308139026165009s]