Question · Python course · Module 1: Python Basics

The def Keyword

Which keyword do we use to define a function?

Answer options

  • function
  • def
  • func
  • define
Show the answer

Correct answer:

  • def