Bsc Computer Science Cs Semester 5 2023 April Python Programming r Programming 2019 Pattern
Bsc Computer Science Cs Semester 5 2023 April Python Programming r Programming 2019 Pattern
P-t305
? sE,{T Nn. :
l-l'ntal
r---t
\a. of l)*gr: :J
[60ss]-307
ili:rh
. t.1.5.DC.
^
C.t)Mp, ER scIENCE
G. 58351$: Python Programming
(ffi n*tern) (CBCS) (Semester - v)
Hours"f:)t ''.
ftme: 2 {Nlax- iltnrk: : -1-i
h)Listthesyntaxforlrandlingexception..,".=
t'
i) List ary trvq functions in math moclule. ,.,-
P.?',.4.
u
*
.*s
\')
2 rlised to 0 is I
2 raised to I is 2 :.'
2 raised to 2 is 4 'l ,.
c ) Write a prograim to riart a;r entire te xt l'ile
[60s5]-307
,/, /
*
a - l-rLtc
b - Iralsc
r' fulsi
Ii I](]l,l ('r'lr:
llr'inl I i '
Clil ttot U r'l ll(,1 lr ill)(l !.
pr.ii;: (2)
elsc:
I't.i,rl {.1,
b) dct I I (x^ l','[ ]t'
for i rit r.anqg(x):
l.append(i+i)
printl l )
1't (2)
il i3 f3.2.11)
1ti3)
coco
[60ss]-307