I've started off with this.
def month(n): lst = ['Months','Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] lst.index(x) I need it to work as follows:
>>>first = month(1) >>>first 'Jan' >>> second = month(11) >>> second 'Nov'
How can this be done?