size / length of a list ???

Markus Jais info at mjais.de
Tue Oct 16 17:11:42 EDT 2001


hello
maybe this is a stupid question,
but I can not find an answer with my python book (core python)

how can I get the length / size of a list

list = [1, 2, 4]

nothing of the following works:

list.size
list.length
length(list)
size(list)

can anybody help??
regards
markus



More information about the Python-list mailing list