Late Arrivals & List Length Problem


Oops, try again. Did you remember to append() three items to suitcase?

I thought this code is work and it show well on the right hand side of the screen but there are red box on the bottom said i didn't add three more items in suitcase list

Replace this line with your code. 

suitcase = ['a', 'b', 'c'] 


list_length = len(suitcase) # Set this to the length of suitcase

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


your suitcase:

suitcase = ['a', 'b', 'c']

should be empty, at the end there should be exactly 4 items inside (sunglasses, which the exercise adds for you) and the 3 three items you add


yo i read what u told hime since i was having trrouble and it work so thx i guess :smiley:]


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.