Computer Science
Non-default arguments can be placed before or after a default argument in a function definition.
Python Functions
3 Likes
Answer
False
Reason — In a function header, any parameter cannot have a default value unless all parameters appearing on its right have their default values. Hence, non-default arguments cannot follow default argument.
Answered By
1 Like
Related Questions
- Fill in the blanks:- The _________ refers to the order in which statements are executed during a program run.
- Fill in the blanks:- The default value for a parameter is defined in function _________.
- A parameter having default value in the function header is known as a default parameter. 
- The first line of function definition that begins with keyword - defand ends with a colon (:), is also known as function header.