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
You are on page 1/ 14
P kgihopoll. Vai$ hnay? 2023 471b2260 _ . Sees”
Date __
Hese’s Q python pagzam
pattern lovin. 8
deg potter. at):
print (“¥" )
tow i? tn ange (495):
fos J in ange aha
pant (fend =* (000 1agiil) soy SEO
print Oe 2 ee Hine oft B65) one
| pattem — al) { 4 (P98) 7 jeer? 9b de ofl
| Ppottern(b); i | P
+s. bl e a
| he Chamiiriercese (ord (a) oor) pesca
ood (49): ‘attire 62. 0 Sf ole 5g
peor (che (chie))) > ey tia S
! pattern _ b() = fe
Compl ete poy Be s
fo + en vonaetie
| Pat (is
!Kothapall. Vaishnav? —-- 20.311b2 260
Date ;
paint (chalcha))
A PIS playing booth Rates
potter oC ).
pot 4}-Ralding a blank Line for Separation
pattern 6b)
a) Dene.
Binary : (M901 000)
octal, (017)9 s
Hexadecimal : (CV) ig
#41230.
Binasy; (40040110)
oct at: (622)¢ °
Hescadectmat: (6Di6 ;
271)3928
Binary + (11110001000).
octal: (0163),
AHercadectroat s (864) ig:vothapolt Vaishnav? 20234171bi9260° -+ SeciB « \-
. Page No._O3
30 (23) +64.
Coovesting Cap terto binary
: Binary solu
S-bit s DoOloIll a
“Tavert the bitS? 101000,
; Adding 42111 01000),
» Binary; (00001!
S-bi+ * Olooooll
el ee
O11 IME emia he
yor ee
bing (-22)164 g Lf Coollo oo), speorverting*
t1to1oo00) decfrnal
or ooocl! => 4 xaltaxat tint
foo1loloo soa tiers dae
1 —eees ct €> 0 | o
a) (93) 4645 586)
) Gas) +e) o
wee €
LPL 2 DOLOION Shh
aa "e\oieg
tp te
opens 4: iror012012023471b2260 \ Kothapalli:' Vanks bray? a TSB}. lay
Date Page No. OF
€a3)t above converted
}\]01000)
Adding C43)t C8901 g bA:(MONN)y > cowrtigt
+ Notoroo)
NVoVaool. y+ [
Teno fh etbhh Adding 4 Toa
oe S447 4 xa!)
>Bot2 St3Hi0..
OTT ES =
si) gat C405) ie ae ) + Cas) = 34
Bireay 5 1001100)
$-bit; 10 100!
» Bingoy; 0100)
S-b?t O10100)
Adding 13-9) rae 2
10.0 11.00)
{OooFe
apall. Varo 2 a
Kothapa Aishmav? -Q013F1b22¢0 Geese le
Date
gbit: 11110000 4 Converting ees
' FEovest the bits: oooollt!
| Add 4: Doo! 000d ’
Sixt (28)0_
“1 894C-105) =16
4) The prrran akon
au the Vowels pepe tH a "
det mreyrove _ vvcetS hentia
: ) VOwelSi~ reasiau Aeloot isis
Y WESUH 9 Fotm'CCehaa’4on Chay intext
Sct ARSE ese): sESRES not vour!s)
ARead a Line of text $70 the user gore text
2 Input (Enter a kine OF BEE
| 4@emove Vowels from +the Yn pat deat Out
polqax
_ Bem Ove — Vowel Cinpat ext).
4} pisploy the veSulk i
print (tcoutput! * outpet ee
5) the progzor 1 Compare 4100 Stains
oth it using the fugit In: Stern
def Compare’— Stating S
dt ELevate though each,
ds pale. ot text AndremovKothapall} Warshnav? 902317b2260 Seep
Date
elses, ao
seturn A .
HIG we seach here the, Strings, A%e edual up to
-the Length of the Shovier Sting
fe ten Cos) chen (Say
weturn 1
CL Pen (84) > len(s)s
Betum - 4
ene ee
4iRead two Strings’ $20-0 the usee
SR etnput (“enter the Second Sting (Say”)
4
av
d}Cornpore the Str8ng S f
Tesult = compare — St¥?ngs 051392) 55) a
FF 2tot,
44 Display the veSult —
8 vesu = =O
pent (8 the Stsings ane Gautal™) 19 5
1 r
ee veSult = --1!
oprot (M54 18 less than So”)
@lSet "print (Ss4° 1 s\less than 5a”) ;
Hhat weads the -type of Customers
2 weading 3 And Current Month B.
Bay arapunt tow the Customer bal
sje 0gror
vious M09
; eat hase ere
ato CaO z ae
pn the provided Conditivas:
-pyyse SO) ea
Pe 5
age No. O6
Gh = Taput (Enkeg the #inS-+ String C5DH7)yothapallfsvatshnavi ~ 90234962260 +! SeeB
Date
HH include
sth tnclude 2sv) §- 5
bhi t =(untts -950) X 2.257
units =250
5.
bru + =unfts ¥3-00
wetuon bill
Got roatn of
Chae custoree>—tyPe[a) 5
fot previous reading ,
Cumrend 9 eaiding” ones :
Ptoat bill Araount §
Print F Centers the custome’ “ire a
Calel cys") 5 :
Scank €%+
+ st, Ca Stomey moe 2
printf (etenter, aoe Previous ( Saw
Scan F(t 2], A% 2 wrest tea Kothopall VBsstaau 8023176260 SedtB
pete tt a Page No, OF
pro € (“enter the Cuavert : month weadings ”)
Scang (oe Ad” & current —rweadtag yy '
Units = Cxovent —veo.cling =) Pre vious treading 5
8% (St -Vormp Cou Storey -types fA") = = o)4
brill, amnourtt = A
CalCulete — bf - B(unies}) §
geise tt (steemp (Custorae Fe Jeo) f
Bil Arount 2
| calaulate — bin cCunt+s); ae ¥
Gelse § :
print £ C“xovaltd customer type s\n?) jo
! awetum 4; &
i 3 (BY <2 8189 vot) ? 2a. bP ae
! Wa adiivona| tax i re 4
i on Ved 44 sl yey
bt oe et tr xo85;
AeSeog ged
2.02317b226 0
Page No. +0
Kothapalli. Vaishnav
Date
Hinclude
Hinclude ‘ >
th include
Gok US — Vaid name Char (norne)) f°
+
fot Length =of 4
tov Cintf=0 *) Crame (EFT = 4X07;
SETAC LRG Ta se"
CP Ces akphe (ra meltJ)) f. :
beng th tat tae
5
Sealendtenaeh camloss bilaves
fot fo_ Vval?d —bres_ Pd Cchar ¢bies— ia)
Sint aaah
ligt =o; 4
foe has—
foo (itt =O4 bres a CG
alpha =0d>5 has —
= 0
% Ctsalpha (bies_¢d (17) ) ‘; j
has_olpha = Jl ;
4
Tf (ts digtt Cbits—t4047) MN
has_afgn Sicha
;
1% sot tb baw bale odskone Vaishnav? 2023.1 Ib2260 SeciB
Date Page No.
fot PS — Valid ~ tna?) CeRae Cerdati) t)
Int haS-at =04 has dats 03)
to«lint t= 0 % email (1) \ = 0% BH) fi is
sat
it (Selma CemtiCt} 1
ead] Ci). - “@’y gest)
Te Cesnast C1 3 =e re
Somes ai halen aeacty! tay
18 Cemati Ct), Py p
Vineet at 5
4 TWAT NS
bere A ada) STIG) eval”
toa boas kay 2d bHavar?) ¥ toate
Void get — fnput eho Prompts Cha 74
ge Cn, se
| Sreturn hash act 4a has! dot
4Kothapali", VarshnavP -- Qo23.47b2260
Date
Chea bres ltd C4009;
Chas emaf} er) “
whileC)f
MGet and Valichote name i
Jet _foput (entery oun Mame. pt, dae oP tra
t¢ (tis. Vatiel — - namename)) f,
Peintt (ts, val Mane Tatuse Conta oil i,
to alphabets. \, »)5 €
Continues
5
YGet and Validate BITSID
Fee Top (ater yours BITS 1O5%, bes tals ep Bel
Cbits-7d))5
if Cits_vatid — abies id (bits_tay) i
Pontes aC aire rust Contain
~ Abphabeds: and IMF yy) S07
J
}.
Coatinne
NG et and valldade
+ fr haa
Bet Topur¢ Senter Yous
VaKethapalll Vaishnav; 6 Q02847ba 60 oy SeciBy
mee Page No. 13 __
alphabets, digirs, (rand e,> Synibois. tn")s. *
Combinue 5 1 sot) ool
Prot f ( Bye have! bees’ epee” ‘aegistered
Ctnatem) pass
mretern 05, young $4
®) The P28 FO Rot Ase, pumbert gab Ppt
And ‘checks TE each Successive, number 1s Uhe
Previous Number Ov the next Number o¢ - the previous
entered munpets The ego"? wr Pht appropiate
sous) bess ou) )
ae ae Siieaees ee pegecateor “relation
9 ak rbseq 223
1 Ve tek of
e include \ <> »
to v6)
int warm () f z
Fant ny CurPenl: y Prevfous; welt i
Print #( enter the numbe DEKothapalll. Varshnav? 202317b260 °
aig
Scand (oy ag previous) 5
fos (int 1-15 tens te ne
PrHE + (“enter a number D5 Ve
Scan $c" ‘han, & ‘earvtent)
TE (Gnrent = = previous 441)”
lew : a *y
, edna 1S a Successox OF 4 d\n’,
Poevious)s"
_ jetser r+ Ceres == = previous — Of
point + C* Ld tsa See o¢
Current 4 previous) 5. ‘
Prevfous = Qurrent-«
weturn O ‘