Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the output of the following code ?
Home
Python
What is the output of the following code ?
asked
Jun 13, 2019
in
Python
by
Derya
What is the output of the following code ?
>>>example = "helle"
>>>example.rfind("e")
a. 1
b. -1
c. 4
d. 3
#python
#java
#python-tutorial
#ball-python
Python-questions-answers
Please
log in
or
register
to answer this question.
2
Answers
0
votes
answered
Oct 31, 2019
by
Robin
Answer: c
Explanation: Returns highest index.
0
votes
answered
Oct 31, 2019
by
Robin
Answer: a
Explanation: Returns lowest index.
...