Vidyalelo
Python · Q26

MCQs for Python Strings: Exam

Programming · Python · question 26

Q26

What is the output of the following code:string = "Python"print(string.find("th"))

A.
2
B.
-1
C.
3
D.
4
Answer

Answer: Option D

Solution

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