13 lines
232 B
Python
13 lines
232 B
Python
#Datei: nested_function.py
|
|
|
|
def print_message(message):
|
|
print('Umgebende Funktion')
|
|
def inner_function():
|
|
print('Eingebettete Funktion')
|
|
print(message)
|
|
|
|
inner_function()
|
|
|
|
print_message("Irgendein Text")
|
|
|