93% found this document useful (14 votes)
34K views

Revision Notes - Chapter 1 Python Revision Tour 1 - CBSE Computer Science Class 12

Handwritten Revision Notes for CBSE Class 12 Computer Science, Chapter 1 - Python Revision Tour 1. According to recent syllabus.

Uploaded by

Arunima Singh
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
93% found this document useful (14 votes)
34K views

Revision Notes - Chapter 1 Python Revision Tour 1 - CBSE Computer Science Class 12

Handwritten Revision Notes for CBSE Class 12 Computer Science, Chapter 1 - Python Revision Tour 1. According to recent syllabus.

Uploaded by

Arunima Singh
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/ 8
| Ol tes 1. Python Revision Tuer J y dokens / Lesical Unit fie smallest: individual unit ina piogscamn_is_Known as boken ono lemdeot unit, S a © VWenbifiers @ Literals Qopesotors 4 Keyvoords - Wor - having hy ay Te pine by progeamen: Ing seat said Dale il. nee: — Names ce oalen Al} ee _pastts. ‘of the. ‘wane — Rules leat No T aaalla Ut) can contain letters oaalglinndinie _on} ok ih MEG STE oarubhabdentis ty thon \s__case— sensitiv creaks so aE fe ai bude sae — ; ers (1.0035,0n9) — a [2 a Te pO 22. Ta ae a. 035, 0027) Flor p PLT A Ss fe GP? cae Sequence thats eeu P [ska ike x _} Single quote Ci ee * e rs G a Arithmetic fen Hiei) > (b) Floating Point Real Wimbers writken with decimals Poing {Exponent form O«I7ES 5 3.E2, seep (©) Com ple * r Form —> a + bT as bare dtera! Pals. 5 aepresents fF 3, Boolean Libera hs True and Fale ee As None fatieney — Thrdicabes absence. of value — W) Bihoise jibes tii) Shap (<£.,.22), — ty) Tdendi { Cec not) =f ‘ ty) RelahoXal G3, Zsa Sacha eo) | lie ™) Legt Cond )0%) , Ee Wii) Assignment (=) cull) Membership Cin, motsin (ix) Anithmetic-agsi Cae Raunctuatons . Symbols used organize sentence stowetunes,— and jndicate the whythm 4 emphosis of enpresstens, state menks yand parsgosam stouclure. e = ds e oe (Weta = TS Se i Dottble__que role oe |} ae ge hs ASci. Bed (BEL) \b ASC Badspace (BS \f ASCII en ra) \n New line chasactew \N frome} Chocroclere named noms _in i Unteode OBR Nort ARNG tele a), Canad Retusn (eR) Ain spel J Novi Sloe | Chogacter with Unicode —______| 16 bib wolus xxaoe \Usanrxzx% | Chowashea with Unicode $$ eile TET ak za vv - | Ascu verteal tol \nemecsbit i) | Chorpeber with ochal lee 2 fh rocher voith hen vale ~ Enie en eee ema Coe] oe en Blocks /Suites = Group of shatements | iasde i Bee analnes stahementa O0c oe func Hon. + oe =: 7 oes insiid wo bloe tot ___- game. indentation levels | al “Ae Rtae or ee al tt print ("o","b")" sep 0", end =:/4') > chon, A} , a vohoe ‘value (ot Default: sep: is blonkspacs a Defautl end jis newline ~~, Se winds bho each ikem. Endl Ione nbelantie tthe Iagich. 4 Dab Tt pesca se © odes Miualene a 1 (@ Trtegers Le ~~ lin Tindegess ui) Beles ph _____(b) Floaling point umber 15 dig pry t —___(eComplex— numbews _ as se deo a z Z a = a _# Mudable data types Tn ator mameny ddderens., new okie aan he shoved - EZ Lists dictionary , sels aye eqanmpatts —4 é J Pk 4 It his idalieeaiaade —. Tmmalable daha, ; 2 sladiel ‘cae addren, new. -ralue cannst Example s int bind ae ade ptuple + fx steingy dass wk ged concetenalion sal Miode Mi ‘soko zr RoEeee eg, poh aad rt oneline = pea gedl af: # Evaluating Asithm Bperlin ns ie il sant ce oes t nverrsion -peator med ee compilescaithou! paw. hil ae dh a3 ‘C3 Wdeithen nan sti x ciconigdlend, ti the Jexte poet | ee both ink yno_ Conversion + aia Some _o these ern, daibae \ pnd alongs gues Ploak ove ele +P Evaluation of Logical Operators O Tn. dR.» > jf Ask tyne, oreterns fob * iP det fale, arebimns Quad 3 (OIn AND, 2 if dah brug ' aeturrs Ind io ik det Pale, veburng det 4 D> 3 ogee Sy 2eand 3 oe > 3 3 : a >> 3 or O — > 3 70 or 3 “ 213... 2 DA ox 3 ees a4 fer est >> Os on bet a i ee { ing hing pthov_ ioe 10 spit oe 4 | Tipe Cling /Gexicit Type Godvaneslon= “lype conten SOT ots So ame. emmaed 4t | Compound iSlabemowk I + + Smut ple simple /eompound _stahemen 7 le shale ment fe etre alalstya ck | eno Statement | ish eno thing, used Bisbee sp rlaannespicca al stobement but logic doesn’t de Sequential eee ae bens Selectively | Seen erel e Ttesekiv gaya sngsiaal 5 a Conditional shabemenks “ (AiG ee Eee © 0 el. a = ‘ | Anal ; @ if elif : Maile _, iP chi ele : = KX Slowing conditions WK 5 sariable, y | condV= g t= 40and w/o == 0 a 1f. cond ¢ bi ls print("Conditon fulfilled”) ae 1 More, ePPiche terre duseatn) of companttions eles oo I¥or= eee 2eqséncal) poh be ie ee | free t a acaequerced y es Ie P Range (a{y,2) ( 1a54-> shop oie B (endlading 4) * (2) while loop Ceendition ) > while - yao op 6 Bs ; loop bed EB Loop ite: urkl apes eapression remains Tart Locus ea 2 Ot es >) a se men Sinkeren seer in chat ed eae ol cbreakes Paes ae to the stake ment outside the loop | Deontinue = skips ert of Sra # Leep —eloe A Ro in_loo m0 7 an a j ae rad aner fn a ence! om ge ae stabemenk f oe —— Ty | atletcde a a scapes” ED hile teh can fan, Siisciimlhatersalieae _statements os 4 | lene a oA

You might also like