Robotics & Artificial Intelligence
Which of the following is not a part of function header?
- Keyword def
- Function_name
- Parameters
- Keyword return
Related Questions
Which of the following keywords is used to create a user-defined function?
- None
- define
- def
- func
The structure of a Python function contains a function header and …………… .
- return Statement
- Indented Block
- Function Body
- def Statement
The multiple values returned by the return statement are packed into the …………… data type.
- List
- Tuple
- Set
- None of these
Which of the following statements is true for functions in Python?
- Function is a reusable code segment of program.
- Function does not provide better modularity for your program.
- You cannot create your own functions in Python.
- All of these