You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
232 B
12 lines
232 B
#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")
|
|
|
|
|