python_ref_string_rpartition_1.py:
x
 
txt = "I could eat bananas all day, bananas are my favorite fruit"
x = txt.rpartition("bananas")
print(x)