2. “Function”
XFunction
What is a Function?
>>>In Python, a Function can be
a collection of code/s to make
our codes organized.
>>>Functions commonly takes an
Input and returns an Output.
3. “Function”
XFunction
Why use Functions?
>>>If you don’t want to type
the same code over and over
again, use functions.
>>>Just code them once, and you
can forget about it while still
use its functionality.