Late Arrivals and List Length


suitcase = [] 

# Your code here!

list_length = suitcase = []
print "There are %d items in the suitcase." %4 (list_length)
print suitcase

I have done what it asks... But I don't seem to get the question correct>~<

Python is Weird


does anybody know how to correct this for me?


Error #1

The correct syntax is list_length = len(suitcase)

Error #2

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

See if it works now.


Thank You MEASON! so much for helping me!


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