import math
defheight_reched(length,degrees):
radian=math.radians(degrees)
sin=math.sin(radian)
height=round(length*sin,2)
return height
print(” height reached by the ladder on the wall for the length is 16 feet and 75 degrees“)
print(height_reched(16,75))
print(” height reached by the ladder on the wall for the length is 20 feet and 0 degrees “)
print(height_reched(20,0))
print(” height reached by the ladder on the wall for the length is 24 feet and 45 degrees“)
print(height_reched(24,45))
print(” height reached by the ladder on the wall for the length is 24 feet and 80 degrees“)
print(height_reched(24,80))