Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
53 views

Chapter 2 Python Fundamentals

This file includes the fundamentals of python for class12th cbse for the subject of computer science.

Uploaded by

harshitlakhara08
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)
53 views

Chapter 2 Python Fundamentals

This file includes the fundamentals of python for class12th cbse for the subject of computer science.

Uploaded by

harshitlakhara08
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
You are on page 1/ 33
Chaptor-2. — Bethe Fandamentals. £4 Ynfoo ® Doyo knew te feepcam makes 170 goed v ¢ A fsconam 3 a uel Indlscuckions Phat fe ie erates i xpa~ Tnput Proce: Oubhuab. Qn this cheftere tue aise boert J ethonty Beles? (ix_chaseackex Seb 1 @ Bokens iy Exprrcwtoms (ig Statemends ) Simple input § output 22 | Bython chascackex Set:- => ds a fot J vali charactess thet ~ Janpuage con letters > A-2, azz Ree Sons Print Cee pret-*/erNO CY $ tHe go>, btu eens >=@ j wanifaspaces~> Blank space » tabs (>), Cerium 2) exthunst HERI } 5 2.3.0) Keg i I A keyword ds a pertervre- WE%d _howing Apecial, meaning b subbeowed by psiegscorenning Long ge: - V 4 = mmuat rot be cs sisern a flere mame, { ¥ | fake assert deli fe in or oe Ione” Wn beeade elif. fom is ‘fase i Tue class’: else global larobdo. arouse. .* yfeld t Todi szontinae exept “rf nonlocal __sehum ¢ _as of finally impart nok ty 23010 Fdentiiea CNarnex) An Tdent ier ae a user -defpined mame piven tr | jolembibies “Dike clase » penbion, Variable, mmadules y objects lists, distvenames ete. ft Rules i: re en Sm | for seeming Dehetre 0 D Rib on aschitreny long Sequence 9 letteru fb elor2t_ GD Theft chocockss Vineet ge Dotter Gp = (—) undecacare couts aS a letfor. Git) Uber B locenss case Jotfeber varee Yemeomt, AU_charxacdets aes Sipn'ieanlt- 00-9 dpite coon be used VEG aspen Ubfor. | Unlimithd length. y Wi) at doce not! contain or vifeciol chavcack« excipt fox undeswcase C_), Valid INVBLID Myfile bara REC XK Ove, ‘ Date. +38 DgciT X [’ —HARSAET boeak reserved keyuserel zreacncs —~ howe special ese i Myefile : . FILEIS v i ea = a ’ ai fil sini chiens 2.3.it0 liderab/ velucs | Uiterals ase clate items thet hove _o fixeal voli. = ef 2n simple words it has the conbtant Valu AW String liferat. B.a)_N ye _ Levels - C.D Bovleam Literals 01d Special Literal mane Fw Literal Collectors: K | 2.3. Bs “iiols | Hatoeps/ ‘ Shoing Utewals s- xe a ae The text encloceel in Geectes feos a stony 2 Litt in gtten. = aah Single £ Muttible choracterd ase encloseet in quoks Tse Verccateéas oe Ubyrals. H I | x i Notes -taes- single usher or 'double quotes cam be ucect but wi 7 pala : i 'Asthal 2 Me galatHe’ | al Melle Worle’. 5 8 r “ Npadous! \ ed "U-x-0-w-25" Amys " e , u —fython allow wt te have cato/n Non - Geaphic characters = in. she Violets. COS RRS | theca” caer uchich camnet be typed Hinectiy. pene Keyboarsh & g backspace, tabs, efe. wes No chaxactet dt tybed uchen theae ys cess 1 Ct _ Detion These wen guaphit wcadns (Ae Deane by ual fp este Sea ww Estape Sequence te petlecd ty one co mei. thon BS Backslash€\) T emcees on backelash O\) Single q watec') Te DNL pte quote OD Nw New Une Xt tab Brenig tat) CTAB) \e ers Retun cer) Nw Vercwel tab <_VSS Alote In python you cam ue bype a esta ee las “4 ae cxoted U stor and Ui vest. i " Anue's Hasband " " Good "Boys Vee thse’ wee ‘ 2 Stang tyes In Beton: =i @_Sirgle-tine springs. C Basic stvinga) a (© nerirtine strike. t “~—S, a chil Single bine stongs CBasté ‘staings) 24 i 0 ES ts wo Gee Singin ager y => lerminates in one Une. eg c eei- Text =' Hello 2 achemmexBeution ts storteo. | Fenere! {ft shows, omer 7] [ Sinter vrroF - Eot hall Giang, Sting Wher? =C kot End & Une) } NY V TSR aetatren ot ET I : oD || matt line Stoaige Toutype staring in multiple Unes Hi a WS There asce Wah 07 i @) Bf ating a Gachslealk at the end 9 mewmiel Te - Quote clouble ~ quote shongs Leg talhae = hello \ = 22% 4D Even te! wesiftfers in two wore ! Ce tines _C Necpaseating uistth >), | Ty) $e bext 4. 2b the tex} Is consi tout} thelfswarld! Cordinwouds ie. —————— ; , ol<8. cb) By tyhiny the bext In triple quotation Me: “oH Ueeial ST at the end of) Une) [ Imls)s sina Ga Hello it io ps Wwotvld « EN - / our ee 5 i These X_come| |} 20g oper y th eve t Vquats ; ‘s Ente) pent (shrs) ey ee eg OT Scot “Melle VN cnt ag W's lef i & , et ie 9™ r These rT comeetpn (yb Og i ; rs, bane 4 = You camalio uae Mall " Tnateal d 11! a Size) a — For single Une! stoing ~ abe 23 I a U hello = 5 id burt your whtoing littwal hag on “Suen | thebsmdke sul to. count. the Becape schusnee At Dene characte. 7 le bigee C Rebseaent- ‘bashtlash) ! abe! 23 "\ab" bo ave 2 Na isan Secahe sequence.) _* Seema\’s 04 zo C yer tps U) reseape ‘sequence Wt iE fey’ # 7s Ep Se ene i ed t re Fox ultidine. sts erated uhh taple quater roaet > while caleulating size ‘the Bol a End d) line chosectes aldo vorunted Vin Ye spe. i oO a, be = 3 6 4 EOl =i Ste Pett = SH | Fo meltiine ktrings cates tu Ppieing / double quotes ancl p chasyactess at “end 4 the line i Be 1 — ahi calaucating Vthe beckalashed- axe. not - ownteal: in Bre sped) sabia 5 , ae sive?’ al be. om T | stry = lal ghey bie ='8 aes... ~ foie AA [ & ote:-| To chéck the sige da string ue len Cestrapname?) : A) ¢ Eby len (ste Ne a len Cab) 3 2.3.38 Nanwcte Ubernals i : s int_Ceigneel nfomrss) = known ag ints, : tye ycve or whole No. with . mo cleeim al pointe + float 1 _secfeccacntt veal No. = wdfn wp 4 cleeti ol pei + cennpex!= oe Sikh oa & Se, =i CAmaginavry Ne): Ean (ante sash R | tntegan Literals: a Viva hrevve ah Ieee race = stint con Fn ary heinaad pair oa (2 EINE Bipo may contol . cat ae se Pinagiton them! fot otsumres bbs ES 6 Fleeting pent lifera@li- - C Real diteats] Z Wee Foy be cusa then jn. 2 forms called < Fauchonal eum. Exporemarst jeom, iS Frrechon ol feo = At leswh one obiptt with the 7 clecim of point ‘ = Eithe tor-ye = Ae sige Ascrrred to be tre, pd socal Uitercals 5 Snvail seas lifer. fens S + Che sledmal pelnf™ 1F9 S +14/2 CB J --1Uegal_ey mba) =73.0 ‘ 5 LEQTO- 96+ 2 MOQ lexithad J. x pein + Cou > § 1429-62 Gos a mot Msspeornl ) olleureel) a Exponent fem 2 1 tt conaltks fe poscks - i ( Mantisse a wD Exponent = a i : : s | eke 62 — 0+ Sx. lot i =)o.6s Fon AW Fol T am qntisst y exponent i in 7 Rules t= fy stent weonatowd An expornent gern ee hes 2 pork: il Lo mantiead # Biponent eer prt ‘bhé eithe ani ivikepal ou |. afroher noel comatant \ u y 3 me I naptissa. I's. by lettesr E. WC im, ond He spon Vewat Eval L52E+E te a Cryo appt speed 1520604 ( O-LFE 2.9 Cro fosction 2) = 0.99 E-5 ! 17,225E02 CC No corny i ) allouced) i 7 : 2 : nop ——- values Leith commas ane net comd/dered — iv oat Valre ae ie treats them as q tuple. Tuple 22 S = Tape A spedal type In patter. theres & Bogue ca ¥, values s Sep Hinapi menneaety value with encomma Jn . HE montissa willl mat be concitercedt & . Legead keaton | belntimoy 5 r. but O™® . a Q peu atiien this value python uron’t #rre : eaten. yell ave ¢ °. Reason:- Adhem wniaicler tae & tape. c no PAE wir FE. Eye Tn 01) + 91 234 Lod Ny py I grers am b Tntaj)i pb2l%o25e02 J phe? | on > ‘THE 3I? kypeca) a v ~ fj moahCa]< bupre : wig Vs. Tm CAD by pe CB) i" 4 & (oourcaa :- tiepre fs are a = A Im ts): a oubls): Ch, 234) Zmte): b i aye: Ouk te): (44, 225000) J ; 23.9¢ Boolean Uiterats!- tuleol to Sebrwent eg Values t Trt CBsvleon true) + Fater CGooleam folae) 28 30. Speciad Litestoul Nome: > Udeol te indicate abies 9 value. = aldo used _to_inelicate end Q bite in i python: Bn shoot i= Sh omens Theste is no wae Infrormentren |" 1 ‘ oe i " Thesea le nothing hers"! | Oxi: Inmlis]: Vale sho a | Im itd + Value 2= None * Im tisy 1 Valeed mos 1 our (1S): le { Im Cle) + Voke2 | Tadd) peinhivalue2,) f Wee. ieee Bod fps oui. Be olscuetsos! Labo. tokens that bent gee ome R34 Ob Com pacutadT ont Lecter applree| te_vardatole;” = amel_atherc objects in oippcossiort. On oe the Shercatare winks ote calterl tpereun, 7 + = GN) @pestoarel. — i dprnator é & x Cnavey Opes atox 2 Hog ules ome Speromel bo operate Ere + wneny pis by 783 = enemy) minis we BitWisede> compement mat slogicat tagpciton, . . w Binary od) dporatesczi doce Hear™ which. S629 koe 08 two : L Perec ee chert, pon. Aaithraet dPooatng : - adolfren = Subtenchon ts r Matt plicatron Division I Jo Reomaimneley /Macktus w+ exponemt Coraise te pour) UY FlosreliVis'yo 1 Bituslee dpeoutors i "&_Bitwise AD 9 Bftupise exclusive oR Cxor) 5 i P pihalee of nem ber slep opeeatonp! jy ins: uchelhesr veoleble in sequence whether vvtablee met in so mot 'n Te + shi }. Sporerters << shift lef » shift 2ughk. : aunty 4 pratt Is Ure avrbty astree ? a aia is the ieborey mot edined 2 Relatitnal operates: less thom > Csecater thom {| <= es thom oF + + logical AND Logical Of ass 2 Assppament Spex = Assignment i Aselen quetrent Assipn sum Assign spaced * Assjpo peomeaindyr t= seh diforemes he = heey efonent Wa Aesjay oor civision An _expoceesion Is_ any gat combination 2} symbols that eapoulbnw a Value. 2 £5 0 Valuer Ire aad 4 (Expecouim) . 24, Bonebones J a python forgraome- Ht This program shows « poepronm's components rodtece complex. \® ca rat vole, aha ope) b epe » VT tt Dapeng Jench on sdfpou © Joustus —funeten fosd byes) ") 2 dol Statement Avstatement ls @ pocopuamaring ening ay Bat does someting’ (2 ssinéradion fobs RE Ea pe Papas code jul call a? 3 pink C'HelteY) tbthis eademints Piast ; i +E calls print jenction Blacks, on theans ibe Wok oP ip bes cahemexpenin ewoluotedd paint ©" valued) 'o odes 5 2 lets jnfvaeg") x. seegou'() above defn u # x fae faster Online Cormier Commence Ieinrtng Ta He mle Tg Tra yh ae Be, ick necessary that vHatermnend pearl in Valu. 1g Qb=a-t0 © Pant (ard) e # bss A_shaleoment execute Booty Mf | S._ Comments :- 1 = = ase the _adehemal seadable infromat ln — sieaol by Hee progsamureds “pia | aes! be faython inderpoalbr. = Comments begin ‘with 1 6yro bol Tito 4 Q_ comment :- t = A : (2 Single Une comment (D mitt Une Comment v @ wngle line _comment:- @ Fatt line comments: The plupsicod Line’ bepinnirg wer te. This pogp orn is uSedfo run a game. h) Imline comirent:- Ut akewots In the middle Qa phapes'cal line. Df A265 # Cele ‘rene it utre) C1 block, GY) Muttiline “comment or block commer. a) By Ading tt in wesy line s I Ht Helio = # How axe You \ it Ah Fem Une hogayp if + (b ay waing tniple ~ quoted ae AB 4 ” Helo. " coestaing @ { Hou) ase You v : Bb feen Line he paugt ib m ccf = [i ed — 7 = Te ai Pp funekon is a code thet hag a name yy. | Functions Is ¢ ke and it can be scabeed Cexocuted ogafn) e i is u by stpeciting nome inthe focogscorn ushers defsee def SeeyouG) : point C" Time to sey Tata") [au staternents (rilemited ct the same level belors def ge Serpent Care a poset J) Seaport Q- , 1 cattn gating junction becorres « Statement. SeeyouC) << _ Statement or getting Renin saa yor z “aed £ Indentation :- When & Peed afuternontks sg. port 2 anotrore statement ff i kumetion. such a gousetp A, one et Mok + “ttatements 1s called block ot code block ot suite a if _—siatemente "UL bobta lo Teale « Bagge PfOCT in sna a | if statomeme, — —. ic a oan T 5 =tmp | indentation basot CThank You!) «. : ; ins shafted le Lu I nota per A ifs beock os isa e | Aeon, inclerehatien) Lek { Exe!) dal opeikejie. Vs Block ol : € a aT l ; [es ath CREERTI abet ) \ if caso: aes, _ Seder fearon | } Paint C!leis than se!) | ae if I 1 i | b= Be ¢ trealeta TF t il i i I Qedtio zal \ OMe Li I : | else: ; i ! Ff al] [bomt¢ '>= 50!) | i } A JTa=a*o (eS . i | | |b = brt0 i ‘Gaterrark i ip - , | f ty ieee i] : \ : i Athen_sfy style? Rules les oil Conventions 2- Lie temminat’on python docs net Ut any Hl Symbsl 4s team/nateod ktuterrent. | ag) eter Is temiination in python. G «|| Madmum dine length = #9 chasaders Camara Lngih) +l tres and &andentation gape ace Needed, fre idine inclemiection lewek ell abnk Une :- - « Betuseen fesetep toel depinttrons - & blank lines. i} © Bahucen meted, pean ee = 1 line blank | 2 Functloyan$ metheds > 2 Uns blank + Class afi tenes - 3 blank lines Avoid multiple statements on one line = cam cotabine’ by walng Cy) but do not uae. + | case sonsitive - Beef cubile tiog © || Docstaing convemt’on.- toiple double. quotes Gest f ) oste f Beriyen in 7:- Uae wunlesto cone te pose words - & VS 2 7). eam aanourt: ! Uae Carmeleasse + i ef + loamAmeunt loan Amount. hit Espace) Ny veschcet fob Nit C mew Une) INE! feat ioe BENG aq! cassdegs detuan. q tah) oats Nawned dabelt there valuer cam besetsed ame, Pssoersded. chsvelne a0, men prasedicatbed. fg oraveks = 310 9-5-2 eating @ vasdahle. anti s™ 24) mascte (oe mumeme FIP : [NET assigned = Python cxoattecd the vervabte type similan to type d value, a bi Steelemt = Prcoh! ie ele Steot unelerolorrel’- Ayer Wtoonaity wueate Lahebes Ssfensctng, fe » theke Values ce Wauan beleast d simp? trainNo = !Tt#)934! # stoing : balana = & 3456.95 # Ldoah wollro = Lox th frt. ze Vavabiles ane rick Lovage container In 5 Note 4 fal python LEB ~ ° r Ivalues and Puclias t Lyaleces = Ex: [a\20 bf io = asee Me objects te which you can ay, QA value a> expocerllen. U ¢ = St cam come on WHS & _RKS A on ab3i, i Rakment, Go Rualuest- Exe 9 0) te PA ere l = the Uferel? and exbseeduons that we l assigned to lwabiies”: = atom hipRaieres Bin BHS i » 2-52 Mutiaple augments + fython is. Veruatile with aasignmenta. Pf Les _Assigaiip symevelue to mrecttiple Vordecbles 2 a Cin a” single stalemont) i —iaszhec=to mac Vatex Io to-q7b; €} Uthat is, atk thee labels aby c uuile setfore to? same Tecadion Lofth vale Lo.) 2. Assigning motfple values ta meeltible variables iN s SING Skbemerdl 25 fae te a0, 30 Coste ase, assigning ) E es Sy = 25,50 pont 0%: J outbut 25 50 v __992. a . a D s cuthut = 60 25 2 Ps dues trough, £9 3. OM @ksjoningmuthble Veber assignments. g gg Uv x clheoays seomerilio™ 5) > I & Python eeat Qualuaew the RUS expeaditon evey eter tt) de | 4 ep | @ Byeya = Gry bee cu f % g = Spi @ b,c = So, > # statement! g By Cygus ott BHP, C-1 Statements? bs pint Caph,c) ES ° Statertiont + eae G=5)b= lo, o24 2 ste L. - hemennt fectceccste RHE eo Fri, bt, C-f 2 Gti Jord Fup ~~, q i Sytm eS a — New, it aseign te bic q 26a. 0 a thew bee C212, 2¢ 2 OP what Is the atprdt 2 this? d [| Ag-as i DU =p-2, pro: pure chy 4 57) outpul Fy bs “exbsccation Acpossapsd wuth comer ae evils bem bitte cease: aad ar in Some é & ehcatA, egi- 740 U yay = Kay HES vod Lusot lot2, lots ow gh yz 42,15 J 2 ig =. Ss oth, So peut 12 aed = a uset IS Sf gow point affest thls gout get 2) -wecite the outpit Ky b2 dos 3a i i 49 Ys Xtle, Xt Bo tl patht.cx,y) i T 7 | output: 30 90 i S Agls.3 Yariohle definition: 7 fe ZT se B cwated ushen Geet aie g_valiu to sl incans a vasdable ‘Js not created antil vm value im fibtjaned to i frac cal- pein (x) x =20 a porn) shaw ooror 'ax! Sp rot dapined. Checaute x iS mt ocated or _addigned Se aeleiena) fe _cosmcd the above statement 5 20 dk Vosdable _% cocoate! maw. poms) X=3o _poimt Cx) —Note? Valine an _unelelined velee varvable In on ! ion [xh COMA OM) Cpr called Mame YSTIOK- ey Rynannle apn g : x=L0 aay E point Cx) [ =" Hello two8td” eS 4 _poird Ox) [ee ° Y 1) yes”, Ue ad ical ois. Gafesccing te =e type : = [second lis ing te ing. or chor i 7 ai q ‘output 2 above cele los lo i Hella Luge. eg aS 1 + fiswk _o¢ is pointing te 12 Shang s Helio ieee) ie then A V —¥ tito aii wali "Hetio voobld”, notes. Variable 2 dees not have a doteeby pe but the vale it eins te cloes have a Type. > A vasiable points y_to mace te peint- 1 _@. a votue f a fe Voluve yedt Sealers ty) | This_is called te} Qyncmde ty typing A: | ccudtom uly dyno typing = | epee x to | U =o tf ys */2 ei Docy! i ee erage potion dad by u bype C vastindle seems >) V le: p> @ ala ig os> ype ca) I Veless Tint! PS SSA: ae. ; > type) ] i 32 = "Helle" 38> type Cad | eelass (Sho gs “o : Te tak Input, wc¢e use beceeln duunchron inprt C) Spnlans- _vascable te. held the valis + inpsck (>> Name uy \ NPaseshit! 33> ape Bite! dn above) code, ue aded input fumetton te Iapath tuoNakus name and age. but, infukO hes foopertty , input O fence alan sctutine a value d) shin ¢ thetls sty output A ag Is enclosed in ‘pe) g wore. __apsmage sstofad Chet e goan oped = —hthak iy feu ape 2 16 > age tL exroe |} ) becaccae oye J8 shpvep. heoeg. A check the type age =e ia Hew to infect no. then, 8 Ct Keadiag enerabesté 2 + BO: Python spent hue punetions Int amd float) pe be Uaad veut inpdhO) ee oe He let lalate tel teeegele Tt epi wove = inpuke weohcd Ne fone? , Nhat A es app i 1c) 22 age OF. Ze) rene ip Jou _cam e combine these uo _ofebd In a single step too. = int Cinbud C)) ow < vasdable narrn >? 3 feat Cinpot C)) at Cinpect _C"Gnter mescks =") . eg mmaceks = Ifo Enter mauks 2 73.5 3s Hype Cmarcks) deat mt conmects to _jrefepess [oat cormenfa to Vipsecng remeber 2 E14 Possible woascs when feaching mumeru's valutg w of you vont (thie jit onlay Intepam them Use hats a re uae fects { . g iS Spi To) age = tut (7 hoput_CMearbor- 's fous expe’) Lo Wthat ss Your aged Lt > 7 q ¢ & » pot tole ps one SOF wu ls Your are 2 seyerteon - s A Newmef)) L. i : stig ol 4 sl a) [ee switn_impur C) - Pe > masts = feat C input C\Emer masks ')) 1s, t|_Emtesy rmacks 3 $3-S-0 spas ° ego Enter mark: 13 _ pe ove | | en ae _Ommoy Jropeel In mt Qand jleet 2 cvalucs like 64, Cte : ss Tolpe-macths > [foot Cinput C" Gnlor cigonts +" Ww” | Enter emattks + 43 | [Roemer i check ib = _PoCI:_mmeoeks > pot Golabus Cl Enter marks *)) d Enter mascks2 + : 26-2} Duct thet fet stakements t pont fc _ ffir tee Is ude, aps pent | (Aobjects'y Lise =" "or seharoctor -sheing > end = '\n! orcend-ahsx — T U 7 Dj i # Decks means It com be one or newbie comma, sepacater! objects to be printed. Ep. amet C" Helo") 2 PA shoing baat C145) te A m0- baat (3.19 * (ex) Hef ccautl J caterlation, re fesjoorned by piven then printed a pont ("TV") lays, " genes old. ") rpallpde commer spanned z uxpewosena. | fs Thpur 929s ovefpuct _— patiok (" potton ks smasct ") bython Is mort “bint Sem ahs is", o+3) sumd agais © ES pont Cloobte g's qa," is", q#2) Double J 8S Ig $0 : Jou eam point Uke this if 210, y=, 2230 E "point (20) DEE E | paint 04 4,2) (ese 30 Gp paint 0) HE blank Une 34 Print (fT bsfpptescher Hab" vi) : tke [s pocontor then 2 i , , fo ae | eo A Featusies ff bruint stafement = a = at comes oA corer. itdms fo strings = i. pt £ Rey Rahs (oe bedueen tome Auctomahtoale, be —feseuse Hie! djautt Jaliur 2 seh csgunced | ut Magee cy Ee ‘pasnt_C tip" name’, 16, MHaseaih*), es i My namre ft Hosthit. ee Dp | fou can change? ths vats 9 echoseator’ Boing Cay Tornel, ele", wt” sep & (coe) z = TT Myaee name, + Arnit. — at appends a newline character sat the ensl 9) Ue cnloss pgs fo euen end. exepuumnerch g print C' png seme. /'s Here") Se Te poinp cl" Fam In ellage.!) : jm ey ga ah ‘ adda " en opt fy name is Hew hen ad toe ports t Gm in collage fier or Nefes— poirat © pumohim a Dhaad any Vale or vmome iL eibeceoaion points 4 biank “eines a | a can Cy i pent: Cling mame is_frnit -" y end= =e) “petint Cit am spe old"). TR mg mame t's fait. gE om 16 yoru old 7; €9:~ a,b = 20,30 ; or: CV pat (loz, , ead =") 9 nates ee “bint C"b= ", 6) [ hasend sé : | eae age bago | 7 9° Name = ‘hasshit! pot = (" Hewol nz '') poind (name) point ¢ "Hous ole, you find python 2 g belle Hasishit How do you pins python U Coa Notes Sy dyin, uaa call Break erry haired by | "fasting a \ fs the end sand te ie entey key, dian Ps the staternUnt ie fn next ‘une. 4 point (Helall \ backsladh ot tre end 2 east : mean’ thatthe statement a S Vs SAH ee, 7 A : meet ee o tS, yous 5e 2 £ i te ed 2 o eH olacpidire Meteo it s:—— nt B be ve . ae be G.| Riopxam to _infut thee no. and paint thei swm s- T —> Wt be Input 3 mo. anel paint their sunt inline Int_C Inget © “Entor no- £ "=f mam2s_int ( input C " Entes no 2.1" )) | mum 3 = int C input C" Brater no gitill)) I suum = MUML+ Mumst NUM | paint _C" Mocce mumbod a 3" huml,mum2, mem 3) | baint ("sums s " swm) i loetput Enter numb 12 Emtve nebo 22 Enter rheumliay 6 * 12 I Theeee mumbesare: F 3 17 I Sum [S23 Huo | @. | Beopcam fa Aétain teasth and Ieceatth J a xecenple | V and calcutanen Vis ascea, V wag | | am a dbtain diameter ¢) dscele and povivt ts T i OKC

You might also like