0
do you need the empty parentheses at the end of the line where the function is defined?
4 odpowiedzi
+ 2
you need empty parentheses when the function don't have argument
+ 1
Function block begins with def followed by the function name and parentheses.
+ 1
yes you need. because it's standard format for function definition.
0
you have to define it confirms that is function