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.
13 lines
232 B
13 lines
232 B
1 month ago
|
#Datei: nested_function.py
|
||
1 month ago
|
|
||
|
def print_message(message):
|
||
1 month ago
|
print('Umgebende Funktion')
|
||
|
def inner_function():
|
||
|
print('Eingebettete Funktion')
|
||
1 month ago
|
print(message)
|
||
|
|
||
1 month ago
|
inner_function()
|
||
1 month ago
|
|
||
1 month ago
|
print_message("Irgendein Text")
|
||
1 month ago
|
|