counting the elements in a list
|
| View previous topic :: View next topic |
| Author |
Message |
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
Hello
How do i count the elements in a list? |
| |
|
|
|
|
plantino
Joined: 13 May 2006 Posts: 96
|
| Len(x) |
| |
|
|
Klimapol
Joined: 27 May 2006 Posts: 134
|
| Len does a great job at this |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| autos06, len([1, 2, 3]) |
| |
|
|
autos06
Joined: 13 May 2006 Posts: 123 Location: New York
|
Thanks
I was trying x.len(), and it wasn't working
 |
| |
|
|
|
|