The document appears to be a fragmented text discussing Python programming, particularly focusing on string manipulation and regular expressions. It includes examples of string replacement and matching patterns using Python code. Additionally, there are references to mathematical functions and constants within the context of Python programming.
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 ratings0% found this document useful (0 votes)
14 views8 pages
CLASSXII FUNC2.1 Hdwrite
The document appears to be a fragmented text discussing Python programming, particularly focusing on string manipulation and regular expressions. It includes examples of string replacement and matching patterns using Python code. Additionally, there are references to mathematical functions and constants within the context of Python programming.
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/ 8
se
+ a. Sty. ncphace Cohd, new i. max)
~pExaaenf hej _______ coe
_|__ sty =" welcome te world of python”
—__.__puink (stu-replece (el, 'e'))
poe bye aghiet te cath, ott
_t ____privt (Str-replece (o!, Uae) Fes: sie
[eee en oS
Csr: oY satconta Me ‘aac Lae tte a
= eae repiace (*0','0/, 3)) :
c ae eee Ko eee of pytho a)
—_prisk st replace (‘woortd’, ‘beactifuldodtal) )
lw Ce
“wel cOme tO wOrdd OF pytkOn J ;
liweteOme 40 uOrid of pgtnon __
AoA deree +0 beadhful World of python
‘Scanned with Cascannercogs Riba Regidarsex presen
aa ea elena
| tan, There negubar expression
You Cam-makes fit or replace text or
ee eee -Sttaning operations aheo
_ Aare Works cat ie ei fee
x jG eae s- Sari = “yy rranne- cis samncleeh"
Lop Serle en tsadias “ yacht”)
1 ‘wage mowme is yaa’
a)psky2= "aim street broad rood"
J Ds Stv2-arblace (read!) "vA")
| Main igthadt brd vd!
>>> stv2[ori7] +str2f172] srrplaaC“yoad!) “yd')
“Wain streét broad +A’
bude Ha. onan) Rs Welaed. ante,
2 7S cs
ts) || \w A nuumerit ¢
ib mi Hz
Co- d- Cunderseo ve)
Note: We cam use.. da naatch a period or
| ub wrattely a Adah. Tf you ane wnsune, Lf
| chanactin fie A pelal tet i
| Os ‘a. We Carn prak a. ona chet vik Lome
| | @ , te SPORE sie
{I a Bhs ashi. st pe paar eke
t The , mn tre! woduble provides ay
+o spumchiom “for: veguilan exbreation suport.
‘Scanned with Camscannerhet RO: = Th 5s ure -iatelaanyrt or
os in the Akacings Eee
Deve ey Ae ah a
—__—_6ptenal—
oe =“ pet seat 1 Jove ccits'! =i 3
waatch Re. wmetch( pattern, so a =0>) |
sd yacctolses Ae. mach (2 pet :\W\W me
foie econ fel
oe wateh=* bias eat |
} Ksre-SRE_mdtch objects sp
‘Scanned with Camscanner>>> mattch, group co)
‘pets cot’
ahote Inthe: awmatch is 4
‘Scanned with CascannerStanden: :- Tho Reece te eal
‘Scanned with CamscannersR
Math Cor, Comutiand _Pyttion chide ad
| Cematenth in matt ras we
‘pips “math. conte Neme al ea 2
| Besta
“math .-e.
tf
nat. pi
lait tau
Rahosis Bulan aka (ss 718 eae
Renn pai fating pnd .
Retina a-fhoaking beimt ila titat-a.
number) Vale. Paes nen
Retina Px (a-41sq2653584 293)
Returua tau jest hd, bi be
= 2 xmath [ak ( 6-2.831853 071 S86)
AILY. piece Sas
MM Aah-Kasr FY
2% math. ply