4/14 What's the point?


#1

What's the point of this if it's not used ?

Then, set list_length equal to the length of the suitcase list.

Code without this: list_length = 4 # Set this to the length of suitcase - works

Here's the code:

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

suitcase.append('bathins_suit')
suitcase.append('sun_cream')
suitcase.append('snacks')

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


#2

Your code works, try refreshing the page.


#3

They just ask

    list_length = len(suitcase)

which gives =int= Value
which represents the amount of properties


#4

Ahh... Ok, but still what's the point if it works without it (not flaming) ?)


#5

The point is that you now know of it's existence....
and maybe in the near future the knowledge could be valuable...