Examveda

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

A. 2

B. -1

C. 3

D. 4

Answer: Option D


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python