python_ref_string_find_vs_index.py:
x
 
txt = "Hello, welcome to my world."
print(txt.find("q"))
print(txt.index("q"))