string = "Python is fun" print(string.find("fun")) # 10 print(string.find("java")) # -1