Question
What is the purpose of the `def` keyword in Python?
Select an option. Your answer will be checked instantly.
Correct Answer: B. To define a reusable function
Explanation:
The `def` statement creates a named block of reusable code. Functions help organize logic and reduce repeated code.
Leave a Reply