Beginner
Python
Q4 / 101
Which keyword is used to define a function in Python?
Correct! Well done.
Incorrect.
The correct answer is D) def
D
Correct Answer
def
Explanation
Python uses def to declare functions, followed by the function name and parameters.
Progress
4/101