0 out of 464 challenges solved
Write a function `median_of_three(a, b, c)` that takes three numbers as input and returns the median of the three numbers. The median is the middle value when the numbers are sorted in ascending order. #### Example Usage ```python [main.nopy] print(median_of_three(25, 55, 65)) # Output: 55 print(median_of_three(20, 10, 30)) # Output: 20 print(median_of_three(15, 45, 75)) # Output: 45 ```
def median_of_three(a, b, c): """ Returns the median of three numbers. Args: a (float): The first number. b (float): The second number. c (float): The third number. Returns: float: The median of the three numbers. """ # Implement the logic to find the median of three numbers pass