Solution Exercise 77: python algorithm to find the first index of a given occurrence within a given string
Exercise 77 Write a Python algorithm which determines the first index of an existing occurrence within a given string s without using any predefined method as find() or rfind()... The algorithm must return -1 if the occorrence does not exist within the string s. Example if s = "Python programming language", and occ = "prog"…