Skip to content
Easy Remember Python Multiple Choice

Which method is called when you do `len(obj)`?

Remember — Tests recall of fundamental facts and definitions.

Answer Options

A obj.size()
B obj.__length__()
C obj.__len__()
D obj.count()

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 32+ more Python questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Python topic (Programming Languages).

More Python Questions