Question

Problem 7.5 Write the inverse function day_num which is given a day name, and returns its number. Once again, if this function is given an invalid argument, it should return None.