We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
NAO 2 co
= Nate > Aryan Prarae ithe
Rell. > 93009530
PrrHon x AsstanmenT +> 3
= Studs = C4 name! “Gige, e Gated P
me "25 Chama” 2 “Millie” + ‘age’ 42
24 50'n tah v Loge"D)
Sovtage = sorted (studvids, Rey 2
AA TAS
pyint (sont_age.) f
2 Recursion ba concept wshurca : wre
~ Solve smaller instances te Jone problem .
‘boxe cae ts stop He call ond on suicursive call
breed inl smalls Sub ~ problema .
ay {rt tn} ;
Jn==0 An==1:
Sialuyn L
‘sation nt foctcn-3)
ne iat input C*éttey no)
' "ip (fact cn)
Prick "fact rot possible)
VA
b seuverse (J) 5
~ id A:
piel (1E-1] vend = ey
seme (AL 12-1J)
print (Yeverse q Lay = sever (Ll,2,30))Function _Dainitlos
dae de gamove. (1k)
= i] Ko ot Km dan 894
ye
y
Priait + {ky 2
‘Witt (rvs * Beall’ 2)) 4
ede) itvoduce Chame age =.25 ci) v= tonne a
aj = “shdod); v oe + Pepi
pit (fll ru ror 8 val”) Ey
7
pein ( fF" Lam tage qe dd")
pwiat( FT tive in ty By
wed
poe (F" TD vsosk’ aa a £ pistons”) A
2 i al oe fo ase "
iifvoduce (“Alice , cy" novprk'y , pref = “Oanu.")
__ bac
Hello »mu Nom h Nive.
PAP PP Ph
al
Tame 25 year old oF
LT \we iw mao yor at
zr work ay a damey af
LPP ere ere Lx