Self-paced course

Programmieren lernen mit Python

Offered by HPI-Student Team für Python

This video belongs to the openHPI course Programmieren lernen mit Python. Do you want to see more?

Woche 3

3.1 Funktionen ohne Parameter

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.

About this video

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

def hi():
    print("Hi")

hi()
hi()

Hi

Hi