Vidyalelo
Python · Q106

MCQs for Python Strings: Exam

Programming · Python · question 106

Q106

To return the length of string s what command do we execute?

A.
s.__len__()
Answer
B.
len(s)
C.
size(s)
D.
s.size()

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board