____ keyword is used in defining a function.
Answers
Answered by
12
Answer:
In a function definition, the keyword in the header is def, which is followed by the name of the function and a list of parameters enclosed in parentheses. The parameter list may be empty, or it may contain any number of parameters.
Answered by
0
The def keyword is used in defining a function.
- The def keyword is used to define a function; it is used before a user-defined function name to create a user-defined function.
- A function in Python is a logical unit of code that consists of a series of statements that are indented and given a name using the "def" keyword.
- The keyword def is the most commonly used in Python.
#SPJ3
Similar questions