Vidyalelo
Python · Q113

MCQs for Python Strings: Exam

Programming · Python · question 113

Q113

What will be the output of the following Python code? print("abcdef".find("cd"))

A.
True
B.
2
Answer
C.
3
D.
None of the mentioned

Answer: Option B

Solution

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