Functions Notes
Functions Notes
Date
FUNCTIONS
unchion is o programmiva sloc cods ahich
Used to perkortm a Stvqu 7elated task, Onu
uns &aYit s Called
Can pas data onto a túnction Called Panamite
Se Can
We
wnettom Can alo uturtn alata0 a iCG TWSUu
Clasiticoadiom ouncfiom
On Bais of Origin
n oult Clibrary) nctons
User defned Ancto
On asis of Hngumms
cloni oite Angqum nt
ithout Arrgument
detarea ()
eg aE 1O
def func ():
print (a
Toi prtivt te global vsiee
oF'a'o hich to
del unc):
OS
Prtint (o) I0itprint tteLcak
Angutmenk of a funchion
C CLO
print (ab,C
he ng unents
Hera se med to Pass a
te
Befault Arqunent n ttuis ype of unction
Meed o t to Pass aU Valus of angu wentr
t oi oxe Somae default Value
e de fwnta, b, dzt0) c
a 10
L b lo
Prit Ca,b, C)
Here e neod no fpass Vauuesf C
wre e Oe arte makiqnn a arument cleiault then
all tieOcqumenk o 7at side eed o
Ledeau alo ort tHe fancto run propenly