Examveda

What is the purpose of a function in Python?

A. A function is a reusable block of code that performs a specific task

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


This Question Belongs to Python Program >> Functions In Python

Join The Discussion

Related Questions on Functions in Python