'very doubtful'print(messages[random randint( len(messages )]you can view the execution of this program at /magic ball when you run this programyou'll see that it works the same as the previous magic ball py program notice the expression you use as the index for messagesrandom randint ( len(messages this produces random number to use for the indexregardless of the size of messages that isyou'll get random number between and the value of len(messages the benefit of this approach is that you can easily add and remove strings to the messages list without changing other lines of code if you later update your codethere will be fewer lines you have to change and fewer chances for you to introduce bugs sequence data types lists aren' the only data types that represent ordered sequences of values for examplestrings and lists are actually similar if you consider string to be "listof single text characters the python sequence data types include listsstringsrange objects returned by range()and tuples (explained in the "the tuple data typeon page many of the things you can do with lists can also be done with strings and other values of sequence typesindexingslicingand using them with for loopswith len()and with the in and not in operators to see thisenter the following into the interactive shellname 'zophiename[ 'zname[- 'iname[ : 'zoph'zoin name true 'zin name false 'pnot in name false for in nameprint(' *' lists