Vidyalelo
Python · Q16

Python MCQs: Variable Names and Operators Chapter

Programming · Python · question 16

Q16

What is the result of len("python") ?

A.
6
Answer
B.
5
C.
7
D.
"python"

Answer: Option A

Solution

Answer: Option A
Solution:
The len() function returns the length of a sequence, such as a string.