demo_ref_string_rindex2.py:
txt = "Hello, welcome to my world." x = txt.rindex("e") print(x)
➜ begtut>python demo_string_rindex2.py
13