A function called month_days
, that receives the name of the month and the number of days in that month as parameters. Adapt the rest of the code so that the result is the same. Confirm your results by making a function call with the correct parameters for both months listed.
def month_days(month, days):
month__name = str(month)
month__days = int(days)
print(month__name + "has" + month__days + "days" )
month_days(June,30)
Giving following error
NameError: name 'June' is not defined