Run
import math # Function that converts Radians to Degrees def radiansToDegrees(degrees): return radians * (180 / math.pi) if __name__ == "__main__": # Given Radians radians = 2.5 # Convert Radians to Degrees degrees = radiansToDegrees(radians) print(f"{radians} radians is equal to {degrees} degrees")
Output