adplus-dvertising
frame-decoration

Question

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

a.

-1

b.

4

c.

3

d.

1

Posted under Strings in Python Python

Answer: (b).4

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 ?