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