in Python by (515 points)
What is the output of the following code ?

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

a. 1
b. -1
c. 4
d. 3

2 Answers

0 votes
by (14.6k points)

Answer: c
Explanation: Returns highest index.

0 votes
by (14.6k points)

Answer: a
Explanation: Returns lowest index.

Related questions

0 votes
asked Jun 13, 2019 in Python by Derya (515 points)
0 votes
asked Jun 13, 2019 in Python by Derya (515 points)
0 votes
asked Jun 13, 2019 in Python by Derya (515 points)
...