Which of these is described as a discrete piece of code that is part of a program and contains one or multiple routines?

a. function

b. Python

c. string

d. module

d. module

The correct answer is:

a. function