QUESTION IMAGE
Question
question 1
1 pts
what keyword is used to define a function in python?
○ define
● def
○ func
○ function
Brief Explanations
In Python, the specific reserved keyword created for defining user-defined functions is "def". The other options are not valid for this purpose in Python syntax.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
B. def