Solution Exercise 73: Python algorithme which determines the List of position of a pattern in a given Texte
Exercise 73 Write a function which takes as parameter a variable of type string s and another string T, and returns the list of positions of a pattern s in…