Programmieren lernen mit PythonHPI-Student Team für Python

Це відео відноситься до openHPI курсу Programmieren lernen mit Python. Бажаєте побачити більше?

3.1 Funktionen ohne Parameter

Часове навантаження: прибл. 8 хвилин

An error occurred while loading the video player, or it takes a long time to initialize. You can try clearing your browser cache. Please try again later and contact the helpdesk if the problem persists.

Про це відео


Hinweis: Eine Funktionsdefinition muss vor deren Ausführung erfolgt sein, sonst wirft Python einen NameError:

def hi():
    print("Hi")

hi()
hi()

Hi
Hi