Late Arrivals and List Lengths


#1

I don't understand what the purpose of setting the list_length equal the length of the suitcase is. Could someone explain to me. Also, I don't know how to copy code in the format most people are asking for on a mac.

suitcase = []
suitcase.append("sunglasses")

Your code here!

suitcase.append('robe')
suitcase.append("shampoo")
suitcase.append("socks")
list_length = len(suitcase) # Set this to the length of suitcase

print "There are %s items in the suitcase." % (list_length)
print suitcase


#2

The purpose is to tell you how many items are in the suitcase. Read this line you typed:

print "There are %s items in the suitcase." % (list_length)