A function is a set of statements that take inputs, do some specific computation and produce output. function brings modularity to a program and a higher degree of code reusability. Python has given us many built-in functions such as print() and provides the ability to create user-defined functions.
Answer :
A function is a set of statements that take inputs, do some specific computation and produce output. function brings modularity to a program and a higher degree of code reusability. Python has given us many built-in functions such as print() and provides the ability to create user-defined functions.
Syntax of Function,
need an explanation for this answer? contact us directly to get an explanation for this answer