Solution Exercise 50: python algorithm that extract all numerical character from given string
Exercise50 Write a python algorithm as a function which takes a string 's' as input and returns the list of numeric characters contained in the string s. Example if s…