0% found this document useful (0 votes)
24 views

Python Ass 3

Uploaded by

Mayuri Ravan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
24 views

Python Ass 3

Uploaded by

Mayuri Ravan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 7
Page No. Date [Python _beywords - hep esemting explicit _paogiam_opesation “ke shese bey werds_in dhe code—connat bo -Heoted as. G Jo Pythen aher are approximotel{_ar and a fod of the beyoords 9. thourmends in _any. “prpgiomming- languioy@_con be cletined — S specially used for. Ceatoin functions or —_— _comman_fnglish _words Sor their direct vel 2a paola — ll am _cading So ee tat Fale -anel.ce | — not for obile def. clo if, ell elif tmpost, form | _— He except © a point rekurp, yield lambde glabol as q ll | llossext del _eFe 4 and = it @ | operation | When implying seitche-epplied shis_beyrosr, fH means. 7 F : eeamdition stond true (201s ‘the worl 01 ic also a reserved fox hoalean ox | IlLeging) noeratons. LALer inplying Abia beysdord, it means thot _an_opes tohen_one_of the condition! stand +rue a. : = sit Pogo Ha ; feet —— J a! aperotong Hahens_inoplying 4 his_keyoord i) means that an__}— —_____loperation ill he applied shen the given condition! — jar expression not satisfied _______| 4. break t= & A_break ig 9 leap control aintement J+ helps to} Control the erecufion of the loop. lding the erection of Joop B.not- The word nat _is_also reserved _jo1_heclean ex lagio— Houe= LB continue 9 loop contra) statersent dt helps to control erecution of loop onHnue ia responsible for auitching | rSpecigicolly the |oop Comtrol -lo the coanditian | «@ 6. True - i “This koyrord represents the Boolean volue | ‘True’ 7 False ~ Thi ue ‘fae’ | g.if— The if _perpuacre] represents a candition instance | lin Python. 13 Lombda — C FN Qponymous fsoction: lorebda in Pythen ore repre: ented using 1 . Bronymens function ore achuclley orphan surchep — - that don't has ee ee L Ia. def ‘the 2 def taynced i sed fx defining ahe EancHion] — - het proguaroming ib cH i de that can he esecuted | = { LL “I allows bounding—of functionality. a declined p type Jor on object 4 3 rot Gojoe of attributes that _characlesize ony -ebject af | Us.c1 defined exces>}ion_check_in_the _prograr—_t— — 2. except a cepiicn ls an et1o1_ocavsing all through the | finally keymord ie used 40 represent _ phe blotk of cade in +he program jtalich peeda to be mandatowly executed irreapective of the tenor checks | ue. impor} = (dhe impos keyocad is_used Yor impor ting “the secessary Nbraries indo dhe prog: : 194. From - The form _beynord _io_used for impor ing_+the ui ibrories_iniD program 120 ..global- _ SSS Ite global ‘keyencnd_ io used 40 modify the scope | — El : {de given variable. ——Venialsle usill be available for ocess threugh Abe | — ephre _ptegiam_oit all poasible instances | eprint Jeeyincad is used for diaploying output — nthe +erminal 122 et1ec— te _funstiong ore intended for the vibrant implemen; Jdaton of the Python Plagzcim hich can he chi bE code or a specific ney un i 2 esp e— Ciive caller, but retnine an odequa +o amount of | cucumstonces jo focilitate Function to take up ——ogain_onyishere if ic missing of | return = —| pnoad (te used 40 relurn came | —fvalies_oafisdction output Tene return value | 19 specisied .a function by clefouth refeyns, is keywend is used to test iflawa variables} — lore equal 26 om piace ee = a ig_used Jo desl if avalue, present| — ——_linUist duple.ebe te a eee | -with- ee ee ——_}rsidh Joy word_is_used_4o-simplily exception —/—_ — [sane Qe 28 aS — [05 beypord is used da create “an alias —| | | {| | | Python variables Heuthon a_comotners thot store values —— vosiables 4: Athan is net statisficolly +4 ped. —__ Jefe ob LL = Pise do nod peed 40 declare ~asiables before using — [sem or declare thei: —4ype.——_____________-} Neaviable 1S created tbe moment ome Fi }Qssign 2 wolue jo ib ._ —_— up _eF Sreroge_in program. undessore characte | - | mn wasiable nome cannot stast with t | z contain alpha=numenc_choractex omd and —) res (A=2,0-4 2 Vosigbles in Pythen are case _aensijive The resemed toords( keywords) in Py then | cannot be used 40 jhe name vortable jin —__ Python

You might also like