Functions inside a function. The following code shows how to create a function inside a function in the Python programming language.
def print_int(number):
def get_int_as_str(number):
print(str(number))
return
get_int_as_str(number)
return
print_int(130)
Output:
130