in later we'll put all sorts of things into lists like pointsrectanglesdicebuttonsand even studentsusing list of stringswe can rewrite our month abbreviation program from the previous section and make it even simpler month py program to print the month abbreviationgiven its number def main()months is list used as lookup table months ["jan""feb""mar""apr""may""jun""jul""aug""sep""oct""nov""dec" eval(input("enter month number ( - )")print("the month abbreviation is"months[ - "main(there are couple of things you should notice about this program have created list of strings called months to use as the lookup table the code that creates the list is split over two lines normally python statement is written on single linebut in this case python knows that the list isn' finished until the closing bracket "]is encountered breaking the statement across two lines like this makes the code more readable listsjust like stringsare indexed starting with so in this list the value months[ is the string "janin generalthe nth month is at position - since this computation is straightforwardi didn' even bother to put it in separate stepthe expression months[ - is used directly in the print statement not only is this solution to the abbreviation problem bit simplerit is also more flexible for exampleit would be trivial to change the program so that it prints out the entire name of the month all we need is new definition of the lookup list months ["january""february""march""april""may""june""july""august""september""october""november""december"while strings and lists are both sequencesthere is an important difference between the two lists are mutable that means that the value of an item in list can be modified with an assignment statement stringson the other handcannot be changed "in place here is an example interaction that illustrates the differencemylist [