Report Bug
Qus :

What will be the output of the following Python code?

example = "helle"
print(example.find("e"))

Qus

निम्नलिखित Python कोड का आउटपुट क्या होगा?

example = "helle"
print(example.find("e"))


A. Error
B. -1
C. 1
D. 0


Solution
C. 1



Explanation
Returns lowest index.



Report Bug