Cyber Class 9 Python Programming

Asked by GIANSH GUPTA KHUNDKER · BIRLA BRAINIACS

What does the len() function do in Python?

Answer as guest — Start Free Practice Test to earn Practice PointsHow to earn pointsAsk a question+3Answer a question+1Someone answers yours+1Your Q gets upvoted+1Pioneer bonus (first 5)+51 point = ₹1 discount on purchases, ask questions & climb the leaderboard!
Show answer and explanation

Answer: C. It returns the number of items or characters in an object.

Correct Answer: C) It returns the number of items or characters in an object.
Explanation: The len() function gives the length of a string, or the number of elements in a collection like a list, tuple or dictionary.

Answering after opening this box earns no Practice Points.

people 1 answered check_circle 100% got it right
70%