MCQ Single Best Answer Difficult

QWhich keyword is used for defining a function?

ID: #20263 Create Objects in Python 84 views
Question Info
#20263Q ID
DifficultDifficulty
Create Objects in PythonTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A func
  • B define
  • C def
  • D function
Correct Answer: Option C

Explanation

The keyword used for defining a function in Python is:


def

So, the correct answer is: def

Share This Question

Challenge a friend or share with your study group.