adplus-dvertising
frame-decoration

Question

What is the output of the following code ?
>>>example = "helle"
>>>example.find("e")

a.

Error

b.

-1

c.

1

d.

0

Posted under Strings in Python Python

Answer: (c).1

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following code ?