0% found this document useful (0 votes)
45 views6 pages

String Notes Class 12

The document appears to be a disorganized collection of notes related to programming concepts in Python, including data types, basic operations, and conditional statements. It discusses mutable and immutable types, string operations, and various functions for manipulating strings and conditions. The content is fragmented and lacks coherence, making it difficult to extract a clear narrative or structure.

Uploaded by

harshagaur20
Copyright
© All Rights Reserved
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
0% found this document useful (0 votes)
45 views6 pages

String Notes Class 12

The document appears to be a disorganized collection of notes related to programming concepts in Python, including data types, basic operations, and conditional statements. It discusses mutable and immutable types, string operations, and various functions for manipulating strings and conditions. The content is fragmented and lacks coherence, making it difficult to extract a clear narrative or structure.

Uploaded by

harshagaur20
Copyright
© All Rights Reserved
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
we _ ws : wre = re None Tre long AA jl Numeric IN4 Lp seh Mapp: wey Integer loi - oq ople Le, Dice fOr ao? +>mudable ins > ae P comre TE x) > Binsle line ae Bepwaited > mutable ee Crna /Fabte) | oriayy PP Ordwad) Pears Load Sree Qaeima) 7? Mubbiple lino TP? Pmerase Deodined abe Lead See eae ee sf” hasan Sw 3x0! 1,2', 35071 | (10)2.2,5 ~pex & 2E08 re a ' a farsa," elle J 1> Com plex How/ | os dy cou you Muddle: which can be rodb-te) > dist, set , dichonory - lermusable> which cant be modi fed) Dinty flood, tuple ete Otr3I —@> A8 +e St A+tezZ 2 65 te 30 atez —>. 27 te 128 see eeu bebe bbb bbb bed ddd’ Vt stoses a A eapaen co &% chasockexs - exe “Helly” ‘Bosic Operabions: * Gacatenalien + “hello” + “usontd” — >» ‘hellousontd” ort “hello’*2 —> “heliohello” Osrden Definrins ES oad () > single sty exe od (@) > 65 cha) + int ex- cha 6 5) » ‘A! Gogth oF stor Lon (ste) a= Don (“Helo”) paint (a) DS ’ eeedddddds: Py 2 SSene ? = = | @eess55777 re wre Spe ¢ ama Zing’ wre Ste =2 $6 -5 -y -3 2-1 We [oalm[alz= i[n oor ans 4s ¢€ Mes sty07 + stirs] ~ Sh 0g or >» fo Ste Cul == Ste Fal UV a= Tous. she li] ot sty [Link] sO) ay S ebp pei > Shlo:2) > Stycas5 > ‘amazing? » Zing’ > sdyfj-1k 2 Ste l-ss-1t J » fama’ > amazt > Beige > Cousd Or V4 coun clase. yehich isin SHingg = Mission: "Count (1i") we. e a? > Gjilalise)* sahara with capitalize Qfsu! tithe. & "halle ”. Gpialise C) > Hello. > Fd C) + aehous Srousest indax inthe string - soduan(-1), i? 2.0 it is ast ound. pa Z “i Ne moat Fad (‘e?) “yarond find () >I oe eo ee ddceue a> Fndlx: H shonns he Sours infer hese ‘he subloig Rand &- “obsocadabsa": Index (ab) 0 “absacadabso’. Ipclex (/2') Value onrom, > salem Cr ollphesidlumbor. then dour, ottusise fhe Exe Cheltos ts alaum.() eee ©. [safusn Tous Tous. False. 3 Isalph (): ony allple. > Ws digit) only dist > Islower Or abbeas? ons chagader is louser. > Istippen (0: ad ftert ono. chanocher upper. > Isspaccl()> H shows tous ifthe is space. > lovsen CF Kyo 0 chanactin cowed in Dower case > Upper alll donaztr conver in. Uppercare > HHleO> sahosr a tile cored jn wood) which alll chasaclen “< fist trad) is upper. S= “ths computin science? s-HileC) “Ta Compitio Science” > IstlleO: tous ifit isa tlle case. > ateods with () = fous if stood with the subse. Cabcd’s stardsusith (ab") >» Tour. > ends sith ©) = tou iP endl with tra gubsio. abcd?» @hbiite (ab?) vas sends sith (“ed”) >» Fale 3? Tous - > suplace = I+ suhows the copy Ystr with saplacr dd cub usith noo shor “beth”. sephce Che", "s0!") dy Refd shy Pe aye « wu a a c : wv c ~ a >. oh al / 3 c 7~ a 2 n =~ = —) 2 ) * Sin () o Rx. ¢ * ye a Men a, (Helle? Jein, CHEW) aaar WP) helio o be “Sein (“Her),») Ge join (EH elle”, 8 “) ope Hie tay 148 eo” OX? OF dein 1" By ° re > _# WO: D> Hello Bye Zpo PREOE spi, Osty ered on then sh ep Wat. *e° the sake {ig iad PST Love yey wee Bee “Pe OD Lever, (yor) Pts Svety? i — Paabiton O)*SSahian ple? in thea, em. - c Teg gy (Sem leg coith Ryton" posh hon ("eseadking?) T° CTexjoy?, usasiking} pir > Con ditional Stedboronth - on if - elif -ebe (cynrm) al » with pyten?) \ iF Ccondi bien)? Exe age= a4 ; Ar Shaleronb 4 Pg ib : I Lf C condition): oh fe Con OGwve WS shbenud 2 Cpe! (“can not drive”) A] f . oe eet Indenbudions the space al the \ beginoigg B acods line J Cx marks= 74 7 VF Cmanks >= 90): ate grodi =o =50 and masses): a Grok =” on eli? Crake >=20 and masks go): coer won om che aw gor = ED” or pind ("gude § thr chdhal >°s gpodk) on e DAC om + Nes king Page 3 ee a IF Condi): Cas OP ink Cpl (odd gorge! a 1 condi 4) « x og Inped (' rgeorese) FW ' iF Ccondition a) « 1 Coge >=18): ~ cher onion) ' 18 Cage >=80): chk °F stabenaal 2] ; Cee 7 I ei Coniay i ‘anind (dave) Ah Cstaferun} Fe and "cannot doive") ehe: Cotedarond 4] 4) = con doive a 2) = » cannot dhive a : os

You might also like