demo_ref_string_find2.py:
txt = "Hello, welcome to my world." x = txt.find("e") print(x)
C:\Users\My Name>python demo_string_find2.py
1