Level of Difficulty:
Objective: This workout is to provide more practice with creating calculations with functions.
Problem 1: Create a function that takes an angle in radians and returns the corresponding angle in degrees rounded to one decimal place.
Example
radians_to_degrees(20) ➞ 1145.9
Problem 2: Create a function that returns True when num1 is equal to num2; otherwise return False
Examples:
is_same_num(4, 8) ➞ False
is_same_num(2, 2) ➞ True
Submission
SImply post your code and a screenshot of your results.
Please format your Python code and blur it or place it in a hidden section.
This workout will be released on Thursday April 6, 2023, and the author’s solution will be posted on Wednesday April 12, 2023.