Docsity

Complete Python Handwritten Notes PDF | Beginner to Advanced, Study notes of Computer Science

Partial preview of the text

Download Complete Python Handwritten Notes PDF | Beginner to Advanced and more Study notes Computer Science in PDF only on Docsity!

Sesevessesessesegaesegess . ‘ . - = DIE. ANG ECGS mM i€dsn , MAKING inners- . the beu shen 1s_af Puthon i exsati lity b orks the ohie | ad ) > > > J 4 » make J é NOICe, Or Cidta ona SI, ana alixaction - endo > i woe : . Pr Te, dnd d E b ] * Machine learning and Artiticial Intelliaence ‘ iz ) ae 7— —— r ) Puthon ha, become. the Go- oO lgqnguage for machine. learning and Al protects: Librarie te, | wow 8 fom] ion 7 install Ry on fallow these steps! 7 indows f s/ : on installer that ma! “four oll down ary : gu executable, ingtaller" for 64-bit "hh 86 executable. installer " fx a2 bit - n-ne dowloaded | © D N Oni nS +n install Puthon on vouy U y or_ linux (specifically Ubumbu) : n id Upen é Vburitu So Y » From the All software rap —down list box, ad wit ow Ter s $8 1e._ir myeter dna OTe e A Hons or hotles +n the. Mot ow T FS j b ila YOUVA b ate: me d » » B » > e ) * * » . . 2:1 Modules in Python : " » n ‘ . > nize your code logically » ein o_single fihe you _ 4 » e ‘ 4, ‘. " erations | . another for data manipulation. ae \ \c. ae e@- . the inch ' se. the. mde. defined ‘ee CEVED 7 mit ow ft f § $ Page No.: YOUVA (O88 8 had salt nae sis ,matplottib for da 45 fox making Htre egies “SyaT Madias 4 vere a Pinograms + iz) variables ,dnd other ade th sed in othex Python sults at_modules. a: i D - uw oT wre $s _ § Ps Lab YOUVA a) Date: = =< _ the type at 4 he_variable Here , Toe sal aungned So de hile _ ye assigned to id: Python will autn | | ova, Date wor wi y 6 8 fF Page No. Wi ee FP ranble. NAGE S iabh provide ow _4o store. and manipula chain Puthon., mak ng it eetier do ct with idfarmata nt prigiomn. By giving meaninghil_nanaes tava You hat-make! your code mite readable an BU dentitiey in Y4inon In P On. an_t a Yq iable , futchion f\ CO Object - Nn ide = ne Cores « weer of any a ptihex cin be mdde p_ © ; uppercase. dnd loweronse,) digits ,land_underscave s Some OS MING i) . MPo ard d words } Fython_has_sespryed words . Oruiarde that have ox ‘ Pn retin tines i Y a ” =a * and Fibackecla ble - e Gre Some Cxdmoeles oa G ea identifiers in Puthe =) * my _Vasiable cy + count Lal Sum ere dre Some. examples of Invalid iden] ‘ters : * {23 abc (starts wi ha * mMuU- varid (a extniell tioe)) a» = —— | = Pl a . Muclass = = *- - q orttd) a spd s) a ms Me. dito [re - + ‘- -curly braces. Each values is associated with aunic keys allo wing for _efFicient - lookup _and_zelieval- —fof_example. > persgon.=_1' name's! 'John','qge': 25, —oiky's New York’ f. , . VV} _3-Boolean : _ _ ean{boal): Booleans represen uth values : —Taue._or_False.- They “are. lagi _used For ; x ons_cind_canditions. For_oxample.,13—v rol Sets (set) ‘ Sehs are enclosed unorlered collechons viv y i { lists! and duplas . store. dl data while [i : a ee clemenls ocr = linal = (3) = 3: s_in Python = |- in By i tha ey Y i ithi identifiers. :- ; : ial aole in defining the shue = * 7 i ing the Flow of the, i: : ditherfol sate of the aril. shy