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