Machine Learning Master Course

Is it possible to call innerfunction outside the outerfunction in python?