Late Arrivals and List Length (Not Sure what I did wrong)


len(list_name) will return the length of a list as an integer.

I expect to show them my list of things.

suitcase = [] 

# Your code here!
suitcase.append("bathing suit")

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

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


Did you try with the actual list?

% len(suitcase)


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