Professional Documents
Culture Documents
RollNo:.9SIAI264Name:.B.4ai thand.
N o . 9 . Experiment N a m e : . . M U L T A T H B E A D I N . ( . D A . . s i n g
Graphs Analysis
20
Max. Marks 4
Obtained uln
Signature of Lab /C
tird os ela
2Setona and
welsme" very 3,
e) w8k
second.
a est ase to cheuk *he
numb e Whith
funHon. even
ehn Tue
o au wen
numb enA
PaMing a lish
d)
wkaahase to check he
fmH on
evers shing hfuh
rehn the
evemed sting
a) Alqoithm
a) start
) creae a tuple wwih a colletHon 0f numne
60UYCe code
nUmbes= E 23,u5)b,7, 3,)
COutod d -o.
Coont-even=0
fox fn numobers
R , 2 o
Coont even t =
else
b).tgothm
Stat
) CNeale a
syeh ronI 2ed Memod w h a hy boe
oh?ec5 )
slee p (20D0)
sem.o u . n tn
("ueuo");
elas mol5hread
clan Demo 6.
Pob Stehc vofd Moin / shf ng args T73
Pfnt/even. num bey (»))
eue
evan alye
clay TeA+un t
def est-ev enTeJ} Cau e),
def
ts
numbey ( leif ):
(2 , 6,18,2.l
pfteNen num) bey (1s))
serf. aM ex t eqval (Tve) even
unft kat -
num bey/s
-
Maint)
TWe
Raun HA
D)goithm
2 excak a
fnRon evene whithtales
3) Creale
a
ching vs
a vafable 'c ="
Viing for loop fkcak ho
5Aad i t s ugn the
snq.
6) e
7 end
50UrLee tode
def teNes
S t I
e [s)
S + S
revxnS
s "MOUDw wovld"
PRn drgînal sRng Is", end." "J
Pint s)
Prnt" Reveral sn
s", xeNene (iN))
VU wIYaUS.
MVA 6uEL fon
Dwhat fsthe Use OF mu14f threadi na tn
mult hrea dinq in Pythoh 7s Uied Daun
Pyhon,
td aun mul ple
hread a he sameHme ple mul
Pyogram fay ky
2) what Is Ule s0y.
en encapsvlouhonto pu
Py dhonP
thon
capsolahon Iney dthon 1 dhe
P
Vanables meshods Cep of wyappirq,.
3what axe mvli rhread no no a ingte
single eihy,
entity.
mu hread ed prDqsasn?
PYDqsan?
ox movePqtant
t
n uhfch
o procek Fn h Tch
Par ot dhe Same
sTmolaneously, PDe run
u) what fs local rame Spate?
A local seae
name sdeigned tor
foy aa clau
clas
ntROn a too P ox a bloc oF- COde.