Vidyalelo
Python · Q130

MCQs for Python Strings: Exam

Programming · Python · question 130

Q130

Given a string example="hello" what is the output of example.count('l')?

A.
2
Answer
B.
1
C.
None
D.
0

Answer: Option A

Solution

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