0

do you need the empty parentheses at the end of the line where the function is defined?

6th Jul 2016, 1:35 PM
Kimberly Jo Robins
Kimberly Jo Robins - avatar
4 Respuestas
+ 2
you need empty parentheses when the function don't have argument
7th Jul 2016, 12:57 AM
Cristian Herrera
+ 1
Function block begins with def followed by the function name and parentheses.
6th Jul 2016, 2:18 PM
I S
+ 1
yes you need. because it's standard format for function definition.
9th Jul 2016, 11:28 AM
Peyman Barjoueian
Peyman Barjoueian - avatar
0
you have to define it confirms that is function
12th Jul 2016, 8:52 PM
pradeep