0% found this document useful (0 votes)
33 views5 pages

Adp Solution

The document discusses various string methods in Python including upper(), lower(), split(), and join(). It provides examples of calling these methods on different strings and observing the output. It also discusses using regular expressions with the split() method.

Uploaded by

balaji bonageri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views5 pages

Adp Solution

The document discusses various string methods in Python including upper(), lower(), split(), and join(). It provides examples of calling these methods on different strings and observing the output. It also discusses using regular expressions with the split() method.

Uploaded by

balaji bonageri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

4/12/2e

Pyhu Salhbon

Q q u tC)-Ti's mulbed t g ude atceensnig u uuy c l tlu


e l t vebv aun d a luu bek vezled 4 nn
t ku dbs uettxa
E pr Cuwclay 'applu s':5 Cp2
Lanm brig '+ Str(pfCnscf knns. gul( aps, o) )+

Ia bvingr 2 Cups.

() sfustd /o tu A vitu ee/T vituo obres s


itueepet CodkioS H kuf . yalu pavyol drefauy
E
Ca mtod is ugt d to ectru
bvand " Fovd
tu lfst of thaui dictknp
me det ": " muSave Ks

HEiun dict.ans
"band': krdT
wodi tmujtag

key C) reuns a vilw ebjas tuaut d'sp ley S culrfhol cces tt g

in dictionay inor dv ot Pagubra

Ey
EY pctioa ' A ' q«ks, 's':e' 'e':qhs
pr iAtDcbonauf t Kty C)

dicA uys (['h, 6,ET


lurn -t veluw sol t
yaluci u s muHhod is g d to

ovdu
Eydrcttanay [ ' j " 2 v n n y : S, G
pvi (dcHouy VoulS () )

dfttvoeluS (l2, 3,uj

D2)

Drsts. Hems n dicthonuy a unord


Oonlth

Speunn 'Cobs' 'doc s Moo Se


balonc l dos' Pca mo ' , 'lets
S pee S b e Co

Fcls

ecqS'na':zopie, Specre Ces aq ';'s"


haw {'Speaies : 'cap 'aq''s', 'nanue : 'Zophre' 2
s Mam

Tr

n o 4 ovdercd, tu Can"L be
BeCoe S dre tio navies

Cua va Clev PS You ust ChavallvS ttus a obhv-


An esCa pe

oisem po ssrble p ap fntoa Shrq


ola bac4 slash (i) lotlcwed
An escp Clurcln lovn S'3is
Clone Jev you dauf to ad d to t Sbioe
by u
1S ct
Storpr Clha veeetw upd bo neve lo Stvtaal
Spe Ces

n tsa
(sapc Claraebr ukd ts Movl t
nurt

u ) ICAtO levid
'e
4el toOovtd o:S)
Huo'

'HCUO werld! | : S

'Huto erld '[3:J


tete lo Wovld
HULo'.upperc)
teuLo'
'Heuc, upp C. is iouprvt )

'L4uLe', uppat. o l )
huo'

iofn ( muhod is ugebu ohen ypu have a ArstoLSrea


funk ued w be fofd toqt thuv e a
Stnu Shiy vel
7 h forn() methu d s (alltd on a Sh., quls peyted altu ol
Shring S,an dtarndd S c Shn

fx 'Arsc''y', 'na ' , 'Stme")


MY ABlnu mt Ast S ABC Pmon 6C
H

la ap pp p p p p s
Stvtpe) meduod u Of Bvtmayt wkit Sre. hanalibn V
uPt Cnds

C Spanm ' l e lo Wevld

SpawT Shvlp(
1Cto Wov ld

Shvp () mlue d oft med ourh spaut Clurve tlu Pvtn,


nig cuds

Ex e t t o Ooyl d '
Spam
Speum SY¬p ()
HeLlo Oovld

8) Rimtmbr, Mmembv, tu hh ot Novtmbxv.'. spltC)


eumbr,', 'xmambe,', 'Hu', 'Pm, df', 'Woum b

'--cin (*l. Can


beonly oue .'. SplitC1)
T h w - Cae-be-anly onu.

a Rquler eeptssfan au ugud k pohen malth q.Tuns pct Spccta

You might also like