7 Une
>) Explain about pytron Wictoag ond Features?
Python Sea
> fghon tad ts undation in the lake tag's. ex
“> Tre weglementaion 2 python wat stected 1% tue decors
: v
y18q bY Gado Van fostum oat ont metre ated
tin Fepttuemy (241 Van Rossum published oe Be
VeWAeO od) 4d alt. Sources. z
dures URE
Bn 1944, yon 1-0 OL weleased rth new te
tonbda prop, Biber and reduce
A Peer 3-p add reo fected
Colleton eee:
S00 Dec 3, cook jpytton 20 cake canted * P43!
was designed to veetify Lendamental ras of He tanguage .
)
PBL meni st
= tc 4 language 9s coid 40 be the predecessor oF
Bytton wage whic wat Grable of Exception Handtiog and
geet Wet Gmprehensions, gabe 3S
ye) was yeteased . TE
Gnkechacing vith Amoeba Operating
7 Pylon 4s Foftuenced by Bltocoing pregramming language -
Rpron Feodures! —
Rybon pevides lote of featuyes that ore. Nisted below >
+ Easy 40 Lean ond Use
fyoan 16 easy to lean ond use . Tt Xs developey ~ friendly
ond high Level Frograrning Languag2 -
# Expresave Langue: e
on) Languag = . mose expressive means that His mere
understandable 7
+ Thtexpreted Language
Qytkon 2 ON anterpreed Langue
Le Ite we emotes He tede tine by Ene ok a Ame.
‘tig wanes debagiing and thus Suitable for kegnnerg
3 weadable -~
ee @ — ~
| SSS otticom ‘a ‘ at Sach ak Windows 1%,
Rehen Can ur gqually on dillere . wes Hy
Ure and Macietogh «Go tee Can Say shat Ryhen As
Postale Lane tage.
* Ree ond Open Source . \ i
Rhen targuage ts -Reely available at otticiad Loeb ec
“Be Source dade Ts alse “avaltabte sts He Ts Open ie.
® Wpcr-oviented Language :
Ryko Supposts Object” Ortented Language and Concept of
chet and Obeuts Came into existance,
® Eekngble .
SE Amplies that other languages Such ag )
*)
* =
‘ Lose than or equal C4=)
‘ _ or equal te
te=)
x Gust to 2
Nt equol +0 c)
& Not equel Ao (Ont
Operands . St webreng recut ret
Spada Ce)” me dulue ,
te power) eK!pee eee a Eeeeeeceeecee
ww Henig nment Opesadors +
*% Agslanment C=) ,
Dwide ond Asean (/4)
fad and asign C+=)
Bibheck ond assign CA)
Multiply ond assign (*=)
Modulus and aseign (=)
Exponent ond aséqn cree)
Floor divicion ond assign (le)
Ow '
x loft “Ain on oth Canditkone ave bue ouput esl be “x0')
“and ? ,
X legend 8 (HF ony Condition Te ue oust: usl be tue)
ox”
REN KKK
x_Legpeal nor Ceomgltment the Condition be reverse)
~ o
not .
WD Membership Operadoy -
* Reborn ry [e 42 In Ceqpence of ancthey variable,
«pete false
Moor
‘ "
ele tue a Vortable %e not Io Sequence of ancthes sain,
ese false
Snot In",
WD Bdentity Operator :—
ke Réiens true TH Hentity of too Operands ame same else -Blse
aa"!
4
% Retwme tre i dently ob boo opemanig are not cane se
“ee not! ' Ase
| wh) Btluwise
“the BYtufse Opevotort are C$)ond, | cor)
2K xor) , 0 (not)
Ze Cet SHEE) , >> CAght snipe , ,
Se |-_
<< ee
wo Usk BAK Fantting)
nye porvides he ollecat,
wed “th te Rot
m be.
can
whitch
HZ HA Ay Renetvens » Ws
) = Brample:
si Funck on Desedetien < nee
> } nt
fy femnpcust, — TE Compares the elements | Tas weteed WS PE’ testes
st 4 | So
| of beth tre Us | eye 3
ad) UenQsse) SER used to cateutate
ye Taree trse car 8)
= Me Lengthy at the Mtst.
pice Clencn) :
|
|
|
| ar)
ea tthse)) Be veheens the reeimun |e tae
> fdlement fare Hee |. paint Cee
ar)
> | ematacatce?) DE seekers) ARE rinienuen| E> OMY Pee
| aleiment of the Wet | pint Gen CH)
| | :
aks = John con's =
Utsttses) | Dt Converts amy Sequence | i
Sh SRR I ne mie : dts Etske)
: print Cee C29)
2clare MSEcy
Set %% chown: by the CJ.
D>He tek Ye mut te.
DMe fet hos the a”
Verrlatte length.
We tict provides ‘more.
functonaltly than a tuple.
She Met Iewed tn the
Scenastd %H wheh we need
With no Condtraints. wherse.
the Value of the Theme
Con be Changed.’
the Wet are fese memosu
efferent than oa tuple
to Stone the Ample colectiont wv.
op 2
Difference. between “Tupte and Last * |
-————————__ 7 ee ~ |
fp tack 1 = tuple ** oh |
P We tera gaian of |S Fe thera Syalan Ph the |)
tuple % shovon by we ().
ay Re tuple te Tmmutable. |
ay Tre: tuple has the fixed length,
|
|
The tuple provides less -finetondi
|-Ay Han the fist.
\|
s> Te +uple ts used %m the Cages \|
where: we need to SAS the |
Coliecthons .
Verrthe Value of the Hems
Camot be thangedl . Bt Can be ||
uged 08 +the Key fingide. the |
|
| Bretloncay .
6) Te tuples ave more memsrr) \
efReient because of He
| Fmmmutasttty,
a ae