Q. What is the output of len([1, 2, 3])?

A
2
B
3
C
4
D
Error
Solution:

len([1, 2, 3]) returns 3, counting the number of elements.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!