Computer Science for IGCSE & O level - Programming (Section 8 - No. 27)

What is the keyword used in Python to define a function?
define
function
def
func

Explanation

The `def` keyword is used to define a function in Python.

Comments (0)

Advertisement