Q. Which keyword defines a function?

A
function
B
def
C
func
D
define
Solution:

The def keyword defines a function, e.g., def my_function():.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!