Professional Documents
Culture Documents
CH 6 Class 11
CH 6 Class 11
Page No.
Chapte- 6
Ga ting steted uith Python
Pgzaming concepta A
tleu aingfot'ouinyoncepts.
ne was
Veny difficat
Yrbarans updatisM asnat ea
60pa concegts
into
DDpg conce pt
Ia ths Concept the naain
2 toneept data athy tha
minmised
dhid
exect
Concept able e
Date
|Page No.
erYO cdetection ahd CBCcdion bccoyss
Prcaanmexdenton and umoval alse
becomes Lay thih
N
Page No.
Encapsudat'onThe
teem enapsulation l
oleived encastulate whieh napany
otlevantdatadatan omodulo
binding
Abstractien is achieve d by he hlo o
ehcpsalaton
daa hiding
nonyeQued data
be hidedrom the ue dwning exeCutin
Excspl, ’ ATM
nheitan ce This coneept been taken
Lrom thu a le Gencio Lehich
status that he prepeYties of pant
inheyited
pM0q1am he arep cbJects
lcxeases a clas. hioperieso
apaentaas cambe inheited n
childolars
wo tid t pqnam crchieves
teumextend is sed te nhey)t on
Llas othey
Date
Page No.
sutentdas clas A
subelass/class B extends A
child cdas
tcnsitivenate of nheitence
fo ecanmple:
luncten
9dditian
Contateheen Qt = h
Page No.
Aduandages
Its complete ness- it ia hewing nany in- beil!
funhens Py Bon Couhs
completenthenmslves
'be
plalfezm
used in seyeal
olevelopent davelopnan
Disaduandaaes
aun TnterMeted language ts
Seing not
have esibaniesthanJave e
* I t is not asstreng
convartakle due to lack ef
n8t easly
sqntax. vaious tth
is uhen lik
Pythen ia avcilable in
pichaNm, anaconda, spicey IDE
Ceythen LDLE
disti butien ete.
in Pyhon
2.
korattive
Schip t mole
intratve moole
is typed at ane tneAnd pythn exetutia
thatceAmand hen and thene pnovi des Hie
eutut
prompt (>)>) sefeu
Command
Lt provtclea imidiateslty to u,
Longuafe
ye ongsensitive case
mede default tle ismadeLateracte
ken epdule mo wsi'ng
pmegro e Nning by difnt
displagd Hie iefgraqam
deill window cuted
The
sawecl then cnd Syrtax
Pythen sing tped be eprogiem
is The
tue for pragram
cafabity
to the prouides
Can emode this Dn :- mode Scnipt
cealey becwse
it time at
proqam conpleti not
putue for pregiann
fo
able not mocle teractive în
Date
Page No. -
En inteHactive mode
tint '2 as)
>> print (2+5)
Pnint (uelom e ")
bint (a*2)
4
baint 12/2)
6.0
bnint (2 (/2)
6
brint (13 /2)
þrint (3 //2)
bnint uelcoe?
wwttone
hint (