Solution Exercise 62: python algorithm which determines the list of digit within a given string
Exercise 62 Write a Python program that determines the list of digits within a given string. Example if s = "Python3.8 is more powerful than Python2.7 " the program must…