Q:

What will be the output of the following Python code?

0

What will be the output of the following Python code?

example = "helle"
example.rfind("e")

Returns highest index.


  1. -1
  2. 4
  3. 1

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

4

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Python Multiple Choice Questions And Answers

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Given a string example=”hello” what is the out... >>
<< What is the value of the following expression?8/4/...