1.

Define len what the type of len​

Answer» ONG>len() is a built-in FUNCTION in python. You can use the len() to get the length of the given string, array, list, tuple, dictionary, etc. You can use len function to optimize the PERFORMANCE of the program. The number of elements stored in the object is NEVER calculated, so len helps provide the number of elements.

Hope it helps.



Discussion

No Comment Found

Related InterviewSolutions