import math

def degrees_to_radians(degrees):
    radians = degrees * (math.pi / 180)
    return radians

# Define the angle in degrees (input for the program)
angle_degrees = 45  # Change this value as needed

# Convert to radians
angle_radians = degrees_to_radians(angle_degrees)

# Display the result
print(f"{angle_degrees} degrees is equal to {angle_radians:.4f} radians.")

Embed on website

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