in most casesthe amount of indentation for line of code tells python what block it is in there are some exceptions to this rulehowever for examplelists can actually span several lines in the source code file the indentation of these lines does not matterpython knows that the list is not finished until it sees the ending square bracket for exampleyou can have code that looks like thisspam ['apples''oranges''bananas''cats'print(spamof coursepractically speakingmost people use python' behavior to make their lists look pretty and readablelike the messages list in the magic ball program you can also split up single instruction across multiple lines using the line continuation character at the end think of as saying"this instruction continues on the next line the indentation on the line after line continuation is not significant for examplethe following is valid python codeprint('four score and seven 'years ago 'these tricks are useful when you want to rearrange long lines of python code to be bit more readable like the sort(list methodreverse(doesn' return list this is why you write spam reverse()instead of spam spam reverse(example programmagic ball with list using listsyou can write much more elegant version of the previous magic ball program instead of several lines of nearly identical elif statementsyou can create single list that the code works with open new file editor window and enter the following code save it as magic ball py import random messages ['it is certain''it is decidedly so''yes definitely''reply hazy try again''ask again later''concentrate and ask again''my reply is no'