A

Admin • 832.27K Points
Coach

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

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

Explanation by: Admin

`def` is used to define functions.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.