Which one of the following is the correct way of calling a function?
Answers
Answered by
14
IN PYTHON???
Rules to define a function in Python.
- Function blocks begin with the keyword def followed by the function name and parentheses ( ( ) ).
- Any input parameters or arguments should be placed within these parentheses.
- You can also define parameters inside these parentheses.
I hope it helps
Answered by
0
Which one of the following is the correct way of calling a function?
Explanation:
- def keyword is used to define a function.
- function_name is nothing but the name of the function or function identifier.
- ret function_name() is the correct way of calling a function.
Similar questions