QuestionQ1

VerifiedPython Basics for Data Analysis

Which of these statements about Python functions are correct?

Choose two
Explanation

Positional arguments are matched to parameters by position, while keyword arguments are matched by parameter name and can be supplied in a different order. A Python function that reaches the end of its body without executing a return statement returns None.

Community Discussion

No comments yet. Be the first to start the discussion!