A

Admin • 833.24K Points
Coach

Q. Which of the following is used to define a function in Python?

  • (A) function
  • (B) define
  • (C) def
  • (D) func
  • Correct Answer - Option(C)
  • Views: 37
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`def` is the correct keyword to define a function in Python.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.