Vidyalelo
Python · Q14

Functions in Python

Programming · Python · question 14

Q14

What is the purpose of a function in Python?

A.
A function is a reusable block of code that performs a specific task
Answer
B.
A function is a single line of code
C.
A function is a comment in the code
D.
A function is a data type in Python

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board