Question discussion

[Added later – this question is not part of the original paper]Which keyword is used to define a function in Python?

358875Medium DSSSB TGT Computer Science 0 replies 0 views
0

[Added later – this question is not part of the original paper]

Which keyword is used to define a function in Python?

  • Afunc
  • Bdefine
  • Cdef
  • Dfunction
Correct answer: C

Explanation

Python functions are defined with the keyword def.

Discussion 0

Nobody has replied yet. Start the discussion!