Run
string = 'Python programming. Network programming.' substring = 'prog' index = string.find(substring) print(index)
Output