+ 1

What does it mean to call a function

Name()

11th Jun 2019, 10:47 PM
Mike Harris
Mike Harris - avatar
2 Antworten
+ 2
Mike Harris In Python, calling a function executes a set of instructions defined in that function. Functions may contain parameters, but these are not always required. Hope this helps :)
12th Jun 2019, 1:03 AM
aceisace
aceisace - avatar
0
When you call Name() if Name is defined as: def Name(): statements then statements are executed like any other code. If Name is not defined, a NameError will be raised.
12th Jun 2019, 7:50 AM
Seb TheS
Seb TheS - avatar