I am trying to create a function that can convert a month number to an abbreviated month name or an abbreviated month name to a month number. I thought this might be a commo
Using calendar module:
Number-to-Abbr calendar.month_abbr[month_number]
calendar.month_abbr[month_number]
Abbr-to-Number list(calendar.month_abbr).index(month_abbr)
list(calendar.month_abbr).index(month_abbr)