Which of these statements about Python functions is NOT true?

Responses

Each function has a name.

Each function is a unit of code.

Each function can be reused.

Each function has to be imported.

1 answer

The statement that is NOT true is:

"Each function has to be imported."

This is incorrect because not all functions need to be imported. Functions can be defined in the same module or script and called directly without needing to import them from an external module. Functions only need to be imported if they are defined in a different module or package.