You are on page 1of 16
Name + poser ass Sen + Reto Catoy Covese: PYTHON PRogRAMMUNG Covese Cope; MadocAdo4o DaTE: I lo~ Loot da)? ae SD) Patron hlory : 2 Pution fate ab fran daion ux Le hale jae0'e . 7 She tmplementalion of pytfion was staid ut Decen “mber 19.69 by Guido Van Powsen. at Cros ut Netherlands > Sa Wau, python 1-0 was keleased wilh veo fecLuns ki lamda » map, pute, reduce > Python do added new [eaters Sich as Uist, Comphre -hensiews , qerbege CoUeclion Sepslinns 9 ABC PRYamnang len Guage & Scid tb dhe pte- cleeessor python Language whch voas Capaile ¢ exeephion han dlicg and inte foc wath The Awrocba Ppuraling Syslirn : 5 Pybicon ia wordlely sect geracal [Pw poses hupilevet Pregiommung lengrage: Se 7 Hw mainly cLercloped Pr emtasise om Cock, Keadabili, pre Nowa Spootthe 5 SRn 4 anche aula -and ub Siahon aLLows Prgrarrnners bo pros Coneeph in foro dino 4 Codes is) x Adlyontage, 4 Pytoon : ') Semip heey i) Powerful tool box W) Qerclopment — Speud iv) Fesbuly Y) Pectoral vi) A sliong Community vii) Proc cer ly vii) Sto Jee Copen Source) 1x) Needs les Coda g x) Most fee hang nage YM bade Baines Con Offovel te £5) ota Minus : 9 Numewe, a Seqpnce Lapu 2 Boolean Se OnE a Clielio many Y Numecde: Sa Pyfrom mumren'e hata lip, reprirend Rhye cola which has wwnent Value . Nunc value Can be ot eer , floabing 7 Wuember ) oc err Compla Wumber. Shoe valun ate Alcfined cu vty float » Complern Claw un Pybror a i) Ewtiger t Sua’ valae Contams Peslud or Baer be @ mprauled by ant clan. St weg ali whole uumbe. Se python 4 Pe mr vo duet to Amo omg on tak eger value Con - Shave Teal wumber rol flealniy pol ropruntalion . St Spesfied py oleamal pont 4 peat: Sin value ta represented 4 float claw 4 Com ples wumdir: Compl, wumber 43 reprsrted by Complen Claw. St > Specitied 5 Creal part) + Cimnginary Paxt) %) Set t Sa pyticon Sel ip On umovalued — Cotleclion 4 dala Ljpe thal i tluable, muladle » and nano Auphicale eon She order Y clement an Sd wv Lunctefevwedk trougr it way CLemenla clemenh . Consus t 4 Various y Crralion 4 sh SuB Can be Crated by wae loult ux Set L) fundion . wilh On stuarle object or a Sqpuswee by Placng a Sequrence in sicle Curly bracw , Separated bi y Comin Sype fennel on a GA net ty be De Some, Voriow — wined wp date Lape Valu Can ale be paret fo De Sad. 4 Accipung Klement 9 Set. SA Uc. Cart be Accened PY wepearg be an ude Sukce Seb are wnovdeedl ins hos wo idler. But you Can Jere enough Kha St Hews van fpr Leap, 0% sk O pecdied value 49 Proed uw a Set by wig The Keqpoorel , k 3a) Python Slang in oboul Sbravun g Substring fom Une Geen String vfolfe boy sticwia AL repe cLevely frm Stat Co Erde Pytron Shien’ g Con be done ui g woags 92 Shieel) Cons tacbor 4 Rutendling $F ndlenuvg Siyeston. pr sliowg « f) Slice stop) iw) Stree C staat, slop, Slip) Posanacls * Kr) stat + Sterling tudes johere Mhe Stow g ¢ dbjeel Starh* in) gisp: Endlucg inden Where the sions objec Steps Wi) stp: Sr bax epliowal Axgunerh thal clitumu! Dre ernment bebioeen each ndler pe Sliceng oa N. Ate 2 ) Ruz = £ ) Rebinen Agpe » Pelaime 0 sliced objeel Cont anuing lemon Give ‘range Only 32) hist xe pure Aiee Amana e Sued. CuLays, Aeclareol da Olver languages huh neel wot be homo genen os Cobrontys which maka i a mesl Povo lool ui dot un Python coe ordered and. have a. finde Cop. Count. B) Opealions ‘) Creafan'g 0 Litt hist uw pytion Can be Created by jut phous g Tine Seopucnce urse cle Fo Saqpsare brackets 0). Untike Set 1 hasty chowat! veut & dull 4° fundiow fpr Crakion of Lat ii) Adduxg Elwnh b a lot: Vawig Appar ©) Melhool ! Llores Can be added bo Us dot by wung bult wm opprd 0) funchon « Only one elomenl ala Une Can be added bo Dre buf by vung Apprd () melhod , : os ig addalion’ of mauliple — demrenta 1 append () mneltiod , doops Are weed 4 Wag Tusa tl)method Appenct () mulhod. ply works for Acldulion 4 thermo at Tae end of fhe Lisi, for 2oloubon { cleraent at clavred Poston ersert () melhod in wseds 2 Wg Extend () mutrod | | Oliurthan Append () Sarit () muod , then o one mote method Pr aoldubion + emo y ertend () % is wed Wi)" Atceottig _elentink frome. 1 TA Ovoler te ace [ne lit lew , Adfe- fe Ue inde werbe. f We Le inclin spuator() bb acom an lien we A ele ea, be am tateger Noll Lut dae Occened voug nuleol tolenuig Lseng Penoe () malvod . Unt Con be renowned ho hat by vowg Kemmove () ture con bul on troy cures if Uement Count Enot uv Ge Sa. Nara: Spontthys s— Sen: epocatps (e) 7 Uavig peopl) rachwod * Per C) function Can Albeo be Wed be Remrowe cord teen One lent fe~ Du Subj but by Aefaulr 1k wena 4 -vo owly Ene Last tment Chu Sob, fe renrowe Heme ont froma Specific porulion 4 Dre bot ancler the cluvrent iy powedk Cy On OA anne be Le Pop Croct Sc) Program te prc Sum qs’ watutal wursbrers wun = Ib f uum £0; pent C> Enter a posi’ wander y dset Sumnz20 whe ( mumro) | Sum +2 num Mum ~7 4 Prat (* She Sum 4, Sum) So chien - i ea o) Decorator an a vey Pov erful $ Useful Lind we Python Saxe it atows Programmers fo nocd fy Ure behawour q Jorchon oe " Kromple Possug forrcline Cu Ae gumenh fo Wher funchon’ dy pls one (number) : Aden Wumber +} by function — Call Chunchan): Vumbe lo. add =5 webu function (viunbe— ada) furclicn’- Call ( pis om) Bl ee eps Paelde tou *) Seahinn {L. clecoratiors ) Authorgalisn ax pylicon framrewons Suck a Flat and Oyargo 2) hogging >) Messing erccubin’ Los 4 ) Simchro wegaliion ») Proqane to Check Whelter cod & Palin dome or not fe wy Str = thom? mi - str = my str Caoelote () RV tr = nvuned: Cony - Str) “ dist ( t : mts yr) ein. Age (rv str) ! Pont C ~ She String er as Palsr'cltome ™) cbse: wot (She strug ; P st Gb wot a Palen clronaes) J} Naowae : Spans Peay ees (i) Se) Ad divisor (Cw): X= len( Ci fe C wm range (4) n+1) if wot wep fd rin x pot Couiwso + (10)) pet (de weser ( *)) Pw Cdinsor C14) Prat C ciwsor € 1s) prt C diwsor (s) Naw: Spoor is hxl Ra000 fot {1) — Srebion 2 WWE §) Sy. reypruenb Ohne untana fq clas: By uaa g Lu sy Keyvooed. we Con acew The allah ard melltiods { Ue clos w pytiion - $0 buds Dre alleh uly woul he Given Ata umel She rein you eed b var tre of @ Setar [oe wir be Lotance allub ul. ‘Pylon —cletctet Lio clo Khe UY wulhod ray th mak Ue ve Suis because pylior chown Ustance be which te belonged. Me be Pore Curtomalcaliy. krogple: char Car Cy: Of ~~ ut CS, nnodel Cole) Sy. waodel = wrodel Sy. Color = Color ky Shoo C SY) ¢ pra Co Modd ow ", Se}. mod ) Pont (™ Color & 1 Gol SM. Color ) audi = Car Cue’ ayy, * Black ~) erran’ > Car Crferrad Yess * Blue») Navat: _ Spooriaa fale Pao.Ch OM. —fis) = Qucl’ Slew C) Jeraxi + Suew C) ) O frm wad method () ) 05. reack C) welrod Ors read l) wethod ux Pylon is uscd Lo read at mast mbit from the fli gyoetalad vouth Dur qivn fle chucreptor 6 $4 En ench of pi hor been rradheol whuli vearaig bitin frown Bu Gem fe olmeretlny ) 08+ read () meltiod roll ruin Cor emrply byber bjeck for abe bytes Le be rad. Codi: ors, 7 : a oe Oe ee ie 3 'wporl o¢- pom a [eras | thro} | Rocunrnh , {o 7 O'S * Oben Cpath 08,0 ph n= Fo nMoydhs £Donsy ) read By — =05s read C Prt (rad Byla ) i) / cldee/ MB °) Lswig Leadbins (): Readtinis £) regs athlon’ Al yf pid. reps He ee Peadlins () io vast fy weed all Du lous ato Segui Go and thew reli Wim as Sa cack Luni a sling devel om a Lot . Shon fran clunn Can be wed fev Smet jus pau read Du whole fue Comort te Du memory, tun spit ab inks = Suparali — Linu. Framplkes Cook fo dluwenst role Peadlorm k= [+ abe |? 7 fps Jw, * Geets Jus) jes fa hon C nd de + tent *s tw!) fu 1+ vorwde kines (4) pes “Close (x) lauig F Reodlurn & ple = open C¢ my ful rte he!) pr Nowa: ~Sprenlba Ss Sess Guach tou (19) dines oo veadlenn () Count +0 py Le ve hemes | Count ta! Pont Okie £4 3 Sy" format C Count , Luni. Strp ())) FOX. MX Sv,

You might also like