Hints for Programming Assignment 1 (Month Calendar)
It will be useful to write the following functions:
# The following function takes as input the month as a number
# and returns the name of the months as a string. For example,
# name_of_month(5) should return 'May'. If the month number is
# invalid, the function should return empty string ''
def name_of_month(month):
pass
# The following function takes as input the month and year as inputs
# and returns the number of days in the month for that year.
# For example, days_in_month(2,2020) should return 29 and
# days_in_month(3,2020) should return 31. For invalid inputs, the
# function should return -1
def days_in_month(month,year):
pass