redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Saturday 17 November 2018 12:44

Ask your IT question here

python list length



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> Python programming forum
View previous topic :: View next topic  
Author Message
Rani
Guest Programmer




How do i get the length of a list in Python?
If I have
mylist = ["Micle", "23", "male"]
the list length is 3.
What function returns this length?
Thank you.

I tried
length(mylist)
and
mylist.lengh
nothing works Sad
Thank you!

Reply with quote
 
Rado
Guest Programmer




did you try:

Code:
len(mylist)

Reply with quote
 
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Programming Forums -> Python programming forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

© 2018 RedHo