Computer 2
Computer 2
aSS =
su ject Lttbr--1\J
= - -
• Session= 2024-2025
I wish toe press rny deep sense of gratit
'H,l_
...
rde, w t ULUiro::J.,,.
cjwjJo
,: ,, .
--- ':.) / / •
. .
,., t - ·
er,1j/owdrr-,c.onfso.
k Jr., .
...
\
,.J:e,,., l-c.a\ and t:k
er ,jvow4,c.onfs0 , ' lwer-
k J;. .
ru&li.PJ&li_
Type the string: Jai Shri Ram
Number of Vowels in Jai Shri is ..
Number of Ram
in Jai Shri Ram is 6
Number Consonants
UPPER in Jai Shri Ram4 is 3
Number of lower Case in Jai Shri Ram
-
is 7 _A
of case
t
r-cr, thr•
tt;
-
...
wrcr t .
ruit I
JoLlu1 :
w, J+ 'J 2l, + 'Jl,3 + ... + 'x,.,n
w rar:vn,, , /4ro
hew wor4 ar
1()
rd,,, ,,, r tL.t °,' ,,, ½
1¥ :J I f J= J<!rieK.
...
11
...
13
. .
?t
?t
?t G
re
?t Gf}
?t GP{
11 ' . .• ..·
,/'
/ /
•
. ..
wra tUJ r' ·,w
w{q;t/ -
15
r w ro {,;,,, -:;:: t /£1and
1 II ,
...
0 axd
UJ dL
ft dL I Jee-ond.
...
11
w rel -tu; -u;; vk
w. JU
?J
cAe/4 vk rtlrv
ar 4, j; !J-, j; r4
rr otkru1 rinl an, error -
...
£Y.thon Gcnne Rolling The Dice
=
X = "y"
• while x == "y":
no= random.randint(1,6)
if no== 1:
print("[---------]")
print("[ ]"}
print("[ 0 ]"}
print("[ ]"}
print("[---------]"}
if no== 2:
print("[---------]"}
print("[ 0 ]"}
print("[ ]"}
print("[ 0 ]"}
print("[----------]"}
if no== 3:
print("[---------]"}
print("[ ]"}
print("[O O OJ"}
print("[ ]"}
print("[---------]"}
if no== 4:
print("[---------]"}
print("[OI OJ"}
print("[ ]"}
print("[O OJ"}
print("[---------]"}
if no== 5:
print("[---------]"}
print("[O OJ"}
print("[ O ]"}
print("[O OJ"}
print("[---------]"}
if no== 6:
print("[---------]"}
print("[O O OJ"}
print("[ ]"}
print("[O O OJ"}
print("[---------]"}
Page2"
. +
•
+ •. • ..
•
•
•
• .. •
•.
•. . . . . . ••• Page 2,
I•:• •
• •••
•
• •
• •
•
•
•
• • Page 2'
••
•I •I
•I •
• Google
• Chat GPT
• Programiz
• C.S.J;>ook . .
'
•
• I
I
•
•