KnowledgeBoat Logo

Computer Science

Which of the following items are present in the function header ?

  1. function name only
  2. both function name and parameter list
  3. parameter list only
  4. return value

Python Functions

1 Like

Answer

both function name and parameter list

Reason — Function header is the first line of function definition that begins with keyword def and ends with a colon (:), specifies the name of the function and its parameters.

Answered By

3 Likes


Related Questions