DS Practical
DS Practical
PYoroM
Outp
Hello world
Teacher's Signature.
Date
wYe
we 0gm hat_aAk he Uney_loY a_numbeY
ndPYn he um_C h e numbe 1 Jo h
PYOYam
toY in 1n)
ti
Ouulput
huey a Mum ber 2 e
Sum DE_Vunhe bom 1 b 12 18
Teacher's Signature
Date
wYte
te0 rncion hat ehums he lo1ge Uement
PYogyam
mybanttion - uuion(o)R
lange man()
Yeumm_ange
ie-C(23, 12, S , 32, 10)
aun 2- myrunchon i )
print PasLe The langest elemeut in e iA i
Teacher's Signatura.
Date
PYO9Yamn
libYaxy AHringi)
palind Yome hunttion ()tY_ye vese (n) =
a1- atinarapnE SittiS "}_
12_Poalindrome (a1)
itn2){
PYtut ( The iven Atding palind YOme "
edne
pxintTne oivem Ahring n0_alindonme ")
Output
Tae glvean Atng i palind ome
Teacher's Signature
Date
len- n g Hn (oY)
C-0
wuilei<tn)
it lomtEJ == xX
C-1
iL-i+1
i l c = LX
pYint FOund"
me
pyin Not tound")
Outpu
Found
Teacher's Signature.
Date
PYoga
L-marin (e(12+3, S 3, , ) , nouw:2,nol - z)
C matrin (cl2, 0i,o-1, 3, 4, ,nou 2 ntol : 3)
pYiut Mahmicesadditiovn"
print B tc)
PYint Moutyices SubYoHon: ")
print 8 -c)
print Mohyces Muliplicaton)
Print (B*c)
Oukpuk
Moutrces_addi Hon MotriC MultpliCoukron.
Taacher's Signature .
Data
PYoYam
hum Z-12
boY ( tn 1 num X
boY in 1:1o )
",i))
print
3
1 *1 2 3* 1 3
1 2 2 3* 26
1 2 3 3
1 3 12
1 2 S sI
6 2 6 2 18
1 2 2
8 2
1 18
1 2 to 20 3 10 30
Teacher's Signature,
Date
1 1 6 8 1 =8
6 2 12 8 2 16
M 3 12 3 E 13 8*3 2
6 6 29
20 6 30
6 6 6 36 6
28 6 42
32 6 8 8 8*8 6
36 6 3 72
6 8* lo 80
1 S 1 9
2 10 2 2I 2 18
s 3 21 a 3 2
y 28 O* 36
25
5 6 30 6 2
3S
2 63
S6 8 12
2 63
0 SO
Teacher's Signature,
Date
L0X1 12 :12
lo2 20 12 2 2
30 12 3 36
ID 10 12
12* _ 60
0 6 60 12 6 }2
lo 12 7
12 846
12 108
D1D 100 12 o12
11 1 11
11 * 2 22
11* 33
11 * y
11
11*6 66
11 *4
11 88
11* 9
11 lo 110
Teacher's SignaBure