Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to get total number of elements used in array?

Answer Posted / ch mounika

list_a = [1,2,3,4,5]

length_of_list = len(list_a)

print(length_of_list)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a constant?

979


What is the use of nl2br() in php?

1063


Inside a php function, what param needs to be set in order to access a global variable?

989


Php code to find whether a number armstrong or not?

974


What are the encryption techniques in php?

1020


Is null empty php?

1042


What is the main difference between asp net and php?

1028


What is faster in php?

1064


Why should I store logs in a database rather than a file?

1044


What are the steps involved to run php?

1078


What is $row in php?

951


What is the use of token in php?

995


Is facebook still written in php?

993


Tell me what is the difference between the functions strstr() and stristr()?

1070


Explain the changes in php versions?

995