Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
23 views
Python Unit 1
python students can use
Uploaded by
nlimechlab
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save python unit 1 For Later
Download
Save
Save python unit 1 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
23 views
Python Unit 1
python students can use
Uploaded by
nlimechlab
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save python unit 1 For Later
Carousel Previous
Carousel Next
Save
Save python unit 1 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 34
Search
Fullscreen
Features Of Python [Advantages ot Belen FYythen_i9 cased far both Sccentifre 204 pen scientific Programe i Python 8 Pre-Com pil ed Cooter: isin ber preted abrun time. Tt_ is 4'rea_open-Source and Portable _L Havin 2 me.pository of Aéb: finckion & n Torok Bai cccnehbel User 1h terface) Tt Supports iin Collection (better Memory Hanagement! Dké_can_be easily tech (0 Offer Prepramanicg see Sueh ag C, C+t, Core Jaua@ ete. Pt “is an object Ontente} _p: Aanguag e Tt_is platform pa aaa = acs Windows, Atnun/unix Srdac 09, —Applications Of thon) hae 1 py thon bo Sidlag heb app licabons of. Desk tap Gui _CGmphical_user te a 8. Console based applicahan+ Commancl an A. Sofware _Developman (= tuen 03 also Secontipie Artificéal and tachioe Business Applicabon—* E:CommerCo ‘ext Ss é 1 Mal imeotia Support. 8-3) =CAD__ Applica4en-s a 9 Tage Processing applica . Sipplits_ Dold! Swen lo ad ompuletiona fe Opp, Problem oP 21mgThe algorithm steps helps fe reath 9 _ final sbluben ~ Mel. < Steps Start- tha Procass 3 Step! Toittaliae atl Ne voluos bar float pin, t, 81 i sep 8: Riad te Tnputt b:Or% Siena: Caleutape Si» Pxnerfiee : Steps: Wnitke po Simplo Interesé Step Stop_ the Precess ‘Masih Computationa) Problem Salvigg damit Prob = as 4 Uses Compuladiona| Se i S 2Prog ramming language €0 Solve tre problem. Te is —___irillen_fo_Stenp le English Language iS. 2 __—_ Algonitien: find the pares ot three Mumbors | AX) SEC eles es 2 “ __Slep Declare tho Variables 9, b, c oa Sep 3. Riad the Thpwls a1 6, ¢ ea esti, Slopge hs ASPs be heat Sea Stops: TP a> e__ thon Display ee OI. Bee SE Shei 1, vied | ONG SE eI cies | Non 7 Else if bse then cies Bei Bis plag bi. us Ais Ci SEO TS 4 C_iS Greatest t oo ae ep iv | “Slop fo: ElseRatpherals ave Chtegori2ecl ad 1) Topae _olevita output Devil. ines @) Communication Peviws Wy) Shorage Dey,jc2s ‘ Centra) Processing Clnit Cope) = = ces This. ie. tho eof toe. _____ Computer. Co tasns degeral é 2 loge cereus € able (p interpreh_j —\ aM Cvecuke Instuctions 1m ia ann sae die Seed 2 lotabion 2here -the_ Program ( and clata_yesicle. The pv Can clerectly access \ the Harn Memory ameta even the Computer be classified (nfo brie types clovice8 Ex hard Hesk Srivel amu om bapes-_ Solid-State Shorage chow wn - Conductor based momory Che ps to Shore PS ~ data part lard disk: This ts a partop tie unip Called Hard hse Drive CHP 2. Dips Used &> Shore large amount of data.Tt has.a Collect ot-discs Proan 24 platters. They are Coattaf with res Mmactens| . Thala bors are art Anberbled by the Central Splindle anu ach disehoving Seperate Raacl -Lowie Aes The igise RE form Of cevche. sie is_ditded Into _tmeice and See hoe cps and Ovols > Ramevaible “Siem ie cl j <—Dyite]_vessint®optica] olvsk’. This ts alsocalled laser obsp uty dich, olumte) data 3 honk, must, or Pichires Sbored in_ting pits (o_the Surface __ Cem pack Disk Read only He. Read and ~nte operations _ __Dvo— Digital Versatile Dis» Thre eptrcal drs ; a cesed Co Store _hiz betapact tyler Lexa Velead— ee Or movies hu Oe apa! on ae —_—S 4 = DvD Random Access _Memons zit R-iry Pv RP Re terdable_|ionteable ~ heterdeal_,2rasedl. nd yewriHen multiple timer Dup-R_~ beni onle Sg D-4I6R8 ee seb yp = —- ___ Periph é se , The external hardwase Connected W/fh CPo ; axe. Galled — Pertpherale ” Se ts p is QS ire 5 2 ub ___ Con teens __ Numbew ons.\ the Component rag Moye Me Cor ponent- Ni optical mouse are atach db ( Broter: _ 2 a * Te te an _outpub devi - Used fo_ges- the hard Coy. a There are tne types ob Pinter |: Tmpact__Printer + Produtta _im presslon on The ___baukoF Papen .09°2@) Dat Matrix Pinter ©) Lene Printer | Z ——A-Non Tmpack Panter: There is no im presafoy 5 _ n ask of. the Papi @Qr haser Printer | eh) hk jet Bree Pickton eo a - A photler isa clevias that ethng Command tom the. Computer and raus the brcheret _ 09 the Paper. Thia #2. type of Printer —___Gpe @ Lep Chequse C Display 2 Monitor S52 LED Chg he Frnithing Dinde = ong 2. -but-has bipher resolution | Maden, Modem ar —rodslabion andused bo Connect carries data apt — Various lem po nents J Dota Buses. en. Buses are wire ha —Goopater hardware. Tp Control in formaton between. the op the Compaten_tx* Address 20 Bee Cate reeSreee ___ Software 2 This_ts “the Sdb-oF- Instruchtons. » aka 2” Beall ¢ usec so operate the Computors.arel exeests. __9 “Specific tas _Tha_tior Commands '3.a_ form — “ot S0ftncane bo iret snsinictions tee lmpots 2 Software “cabo phypitally-stored_on.tbe. bard. Z mye ee \ dnve tie a Typss ot Softaane ve iA d r oeSyslem port So féware Ueles for Smoath_and. Chfrtcant of varreus ramS nuh Papen Dosigned to manage. Tre __Applicatrep programs. and also do 2pecejye ap functionalehy. ; hk. Apt virus Sofewaxe + Ev. Ne Afer re % — = = 14 ot - — Gels and Ot ecate. te _Vvario uk Syston , eSources eG ins 1 Syb Ie a eS Bonne. rm 1_and ERa Yardisone Aah. Dosa Sing la Wier oporaling Syssem —8-Unie—- _Mulfi User op, System 8 _Nindows— Graphia) user Hhorhale fauna and : ae eat j ee CS SY 3 bem mmm eaten “osama hgh Jewel Lesage [0 mie ey Thierpiter:_Translaies high Jace! Any —_____ Machine Cuctes ay" fol by lng _ ——}-—_ +" the (giapllens. diem —___blerpreter 13 Caled am ~——e + | 2 rst Sb 13 «als ; ea fying fs alle ame. i sm : aApp catron es ee ee Tis ee Cornpater_Prv9: 1Ontkn by the__Praram _fp_ Comrouni ol? coth a_ = ar = bh id a_spocehe esi. A Programmrg eel IS Grammary-and words of eo .) — flag wala” Lang aga an - ae Tht Drotedare S Kna.oo as fin chon 6. 42 or Subroutines Protedure or fncbion : nD hak Some Struchsre Oran/ ereter fe do a basit - Renchons are 2 Sef-of Sfahernente _ Example» Basic 0, FORTRAN, Ge there is_@ Call from the min pe OBJect_ORIENTED larlQuages 2 —Progaain Ts kpaan 22 base.—— Application So flware The Computing lostnectrisns Usad ner ai User preblom ase. tolled Application Settvare, Ex: Ms offite > MS Novel, 4S =Powtew pPo/ne NS-Pwecel, HS -4€Cer5, Outlot, Mathmectra Packager Adobe Roaclax. a Photo Shop, Pye maker, Di)usbrator ote, oes i é { ss ——_pPlication Software _clelivered ro _un Packages Pretagas (3a Lalloehon Of Flas and es Yepusred for Tre SDftrware. Software Package fs_@_ group of Computer —-Pimgraens. $y bailed ty be _Prgyammer ee. fo Cemplete a fag N . 1 es Huthmedia — 6 Leak, Graphics, | Animation and usin and video Cuore fog thoy | —f present jnformabond ‘ isimad ; ——Pdba Portable dhetmnent Arma ; ~ ety ’ a2 The: Process OF Computertronad Problem NOMS ais The sore blem Sdluing je A Precess of Seghenge pp i— Sheps This 18 an iterative process Be a Aaclopty—Compilabracill Lbs Ei in Sai ——_— Problacn_£ —Algortin ms 1! Algon' pre Pees Cooling. _ hess dy | Solve tua a a a —_————this_1s__the Process ot_undershan 1and_ des) nang _an_algornithm ie Fino(atest) ae (Problem Analysis -2. ei — + . ‘. = no = 2. __Anajysig des ac ail we ¥ _Thes. fers ‘Stop Df Problem viewing b2.Cleasly ae Understood toe Problem » The Clan'ty of =the problema : is y aunsing many,relevant. guaéiion “oe ans toe_probloce..The_Canstitutien. er solution Gs jolonbifredt tn this Stabe. Fer Somme ___ Rroblam tharets only one Solution. otha, Sito Some 2 Problem have enony 80 luctiun Solutron>Betkor approx male Sages eg ge this Stand Shee tolentified the cata omnes — involved _in_Problerm solving Tn Struchening of data 4 ‘Ag and. “raitng tn tt ea or date the las 10-toe preg ram clesign_is_to And Sianple. ori ic pte Problems have 2. Yhultiple Solution, The feasible Solubbn among re f Berar EN a as Rata Tavelval, Set of Values max valu2, Sot Size + ‘Data _Stuchire # Set of values Shored io Sogte aba Struchere , | EAL Peer pre RIE OM 5 OTe ee fy Volo he p______| Step 8: Qind the Value for AL ean gp A’ Hex value “= § valusloy_Slept? Paint fhe hig baal vale ___._8tep 2 &fop — = Jer Pegram Troplementation © 2 Tp thi Slept of ho bich Programming at ogo fo be Used and hoo 6 imbedent the mam. [he implementation has bo be erpressed Sm bactically CS yo tat Onrenled) ______The_logre of. the 1aM_im plerpen bol én —algorthm < tp Converted “into Suitable Beg SY Programm ny _lnstrectiion § | —___The_above_alaontion to be Wnten in [9 thon ____# Larger of N Nnumbors “hs ibe Cibput "Enter the Size of toby “D, | nh ED Vi aT | fort in range nds _ ee 7 —nval..appenctCint-Clinpet C'Enter tho values =) she OS OR ae e |}—__—__ man a-paliegy “a oy ee ae je sign Te! ng RC sgl sheen ——th_aval $i0.> marie a | mans pvalcio —__fab+ls Porte Highest Value is 7 Deiat ace SP a era ‘© done then the. pr : rs Tachi and _ , Progam _< ipsling 2 tte end Stake of clowabepment fest the en tne fenchionabity CStafement by _ ~ Sratemuust Chee king) Of The. ya Ss This_will prove Tho Correct nese of Problem te Gnabpsis_and Problem implemen taboo _ ae Kn. _28_ersnr The. Comechop of Crrers is So .. Gableduat emai » Ditlorent feat Cases ¢ are es bested hint ys Phase _ A Test as i Taspate, Drocasn. tondihe, : Qnd_oukpurd oS eee ee PE eect both white bee and Blox box _ Testing - eeJe theancs. ton Ae agange id : a deve cyeat npr ° lads viadability , and itt ae Allows —— Ppramenes 6 fe express. Conapts 1072-0 /inth 06 Sy There are lots of updates 1 Bikes = Versions Sharbed from ./92¢ 6, Gerent releas Python _l-o Jan 199% 3-8) oct 1g. 2ol? = ~~ [ition Toleprter = There arama inte eg-intcxpreters ___auailable Wsnitee a + Galapted Daal peal etme ee “Python es And fee et yen on atl Hac 9b here ata ea adam ee Se eee “ . i eck Orten be. wn Protadureonentet = Protedine orien teil silts weutahie prot _of cade Chjyut Onented- Beced on dale and Geen | 2 inp Liven os am now ~- - - } a *FrsAPE gu py — Nattemebcal eguabins s Aponhas Rytioo cabamy 1s used -for_dabea Visialiatibn — (hrapni ct) Nexbine teeming 2 clabee Sadan Ge Natural Fanguag 2 Processing, and Compler_clatg ah. Te manag _catebases Couementbon RB and_olesktnp _app_davelapenen ____ = Rython Skppoxt $_ more _-fmme wont Programs . andcls Fo terete ) Ryramicl - Desolop heb-appirextirn RIP os twas pipe Piano —— ae Wasted Riargo— _ oan ener Event dmve—netvorterg engine St i kan apps bene eniels —___ Elase - — Web apps po19. Net Plve'- Deliver be Go tenté 6 3 aSpolhy. Recommended! « es 4. Yahoo — Map & 6-Mozla: 7 t. Plain Bo Paco hoe iE \aw Tabor. C800 1p -Quera 11 io eG : u _ ylhon #s D baci LeHy = ‘ eS, Shite tian sbeinplled 2k ave ee Sa a here ~@©O8umeg Werden covith ‘ 22 es pe ea secs nenbme » aoe mania 2 2S = gi Lit mates 2 Some Com plo — ———_ Sihabyn_ |, yerGom plox: QNumerre Leteralss rr e RO Fat of ab he iohere.2= rea! part — —_ aa imaginany frank of Comp len Mam ber — = Biampleo tugs 4 f= San E Logg Tits _ Prine walue at Fis, _ fxeal, - Tn! of uenlimifect Size. desman its a. Lowen. or Uppertese bi 8 _ Bigs | Grobe Pe ep hee a ee nee gaaae hae te Skorik Li i ta@ The Vandble. pane caniusemeoty deghte aad Chiderdcove . Ate.» Beer fewer Care variablesNumevre ee aa _| @p Tiziep er 4 Nfboab ARS umal Pe Exam ple tober wiles in teget ET i = 70 _¢ Nipatee fleas Sop. et. << —F in any length a Rooleans o yes. i | ee ee evar Sper as 1 iaRite Dationary is. ant_ugardered- Collestjon of Gems__ubere. ae chem IS. a. kay vadtehs petit Keg ! ea. >t and yalua Separated by L The Nems in Dreboosy— ire. : Sect an “ancl enelosa din. aicly braces fy 4 fxs boaele Pislenet, 21 leno, Bt eee taal aespnnk(d) op SL: lone !, a: !bvo! Lek Thea! e a Te —shopicclass ‘drepl & —_ ae Keys (=> af ctech bape CLL23,43) 33 punk tal +Valuns3) D> Ge clock. values (Lone, Nwvo, fra’) _Dicemnaty Gre. ie A bar to change) P ot Updatet Sai cedi bo. madety tia deck coy or a pli neato aks aes ene alll With Ger efron Sep orate. + ie ie ae$2 ppl : —. i [>> print ee : ple, y orange) . OSwession Python ClompubesIn a expression > 4 = Ca¥ x) /2 Mathemaltcal exp" 6 y- 3 (%) Ok os wrt J a=(xi2d/eb—-d Bet es eet Arithmahe operator CE*prescran) Bre Toe bx oa ic 7 | Symmbo) ee am ples Petr [>s>c=Q+b = + 3 >> prt Ce) A | ie oe | © fsuotractin | >>2¢24-b | | Tt a sez painticr: | ‘2 J ____.3_|MutHplraation|_>>> > Xb. Sb oS ee a — f —.4-—1 Division! >> ¢= alb_ 2 Be) Oe a ae — x \nedulo j.222 C=afob - | og ee ISS hfe Se a — 6+ |Enponentiant | So> axes | & a ell OER | 256 Cues a a . ~OPerotors bo Per form Oxcthmoht Opec And Solve. mathernasi alaeb e nae , c ¢ raje Honale 1 + oon Ditine Relotional a and xo Sulks ; E i CWO Op press/aw FOS True ox aft False (Boolean eee>>> ax
>> az b Greater than | >>> F>S- 2>>- eT pa ak ; . 6 >>> az=b >>zIe> = 10 calor, because (blero pared tro valueaS Equabety : equal Om gaa) —___+— Anthmetic—Short hand assign meat eperctor on ani >>> ats Bb. Shorthand soa abe Se >>> prink(a) 6.2 geo pap) prnkcadt ote _=>—| operator! cparat 4 Togicaal operator. is used be Checie more. Cher _O0e Condition The _reselt will be True or False (Boolean form 2 And => @ahenns- True. hen hoth.T Casingbittinn axe Trae je ge >>> tet 2o and s< ws Tre > le $20 and 20< 30 => False po = BES ST ds >>> to>To or F$>2 > Tne ep Tp tha Camelibon BEnpat value ) __@s False fhe vesulé output J iS true Ee es po CaaS to. tases ay SF so7pel (<7). => Fels 2 _ Betwise ogee é4 f = Va ae ue —__4_This__ operators Supports ba binary operations . This eve lacbi _ brings _binawy values Geule = Bit wise AND. 4. opewatoy | ay Bitwise OR. Operator tz ws Bitwrse nel pe 0 Perotny Ao enn | smesareieeteetIdentity eperatex? Binary opera Te cheek whe these Ove Values Qre ‘clentite tatu bers — Bom laen alae — — As pod SHO. Ex. __ > ys lo D> x io See ed eS Ir sig atc — ‘The value of “ana y ace Seong Sl repens nse 2 the verles are Oo i Heron - Dt returns | ad _—_—_— a (ea ae Sea ees ROT. 0 > Hello cs “He os False (2pero lor $s baie Ths operat — operator redrns Crue if Conde, a ie ie Dee PIS l= PrP EPTTT PY | Prrrearrrr ry ||
You might also like
BCS 011
PDF
No ratings yet
BCS 011
14 pages
Computer Applications-Objective Questions
PDF
No ratings yet
Computer Applications-Objective Questions
16 pages
COA Unit 1 Notes
PDF
No ratings yet
COA Unit 1 Notes
86 pages
Software
PDF
No ratings yet
Software
19 pages
imgtopdf_1710240006045
PDF
No ratings yet
imgtopdf_1710240006045
7 pages
Unit 1 ss
PDF
No ratings yet
Unit 1 ss
23 pages
Os
PDF
No ratings yet
Os
23 pages
OS 18CS654 Solution2
PDF
No ratings yet
OS 18CS654 Solution2
52 pages
Unit-1 Problem Solving Using C Mca-112
PDF
No ratings yet
Unit-1 Problem Solving Using C Mca-112
17 pages
Programming For Problem Solving
PDF
No ratings yet
Programming For Problem Solving
83 pages
Operating System Notes (Priti) Btech Cs
PDF
No ratings yet
Operating System Notes (Priti) Btech Cs
64 pages
Microprocessor 3 (Including Interfacing)
PDF
No ratings yet
Microprocessor 3 (Including Interfacing)
57 pages
IT Chapter 2
PDF
No ratings yet
IT Chapter 2
13 pages
CSC 101 Pq&a
PDF
No ratings yet
CSC 101 Pq&a
5 pages
cos 304 by kenzman
PDF
No ratings yet
cos 304 by kenzman
12 pages
CS 2-5
PDF
No ratings yet
CS 2-5
25 pages
C Programming Written Notes 1 Pages 1
PDF
No ratings yet
C Programming Written Notes 1 Pages 1
100 pages
Computer Notes
PDF
No ratings yet
Computer Notes
45 pages
Coa Unit 1 Notes
PDF
No ratings yet
Coa Unit 1 Notes
27 pages
CloudComputing Notes
PDF
No ratings yet
CloudComputing Notes
102 pages
CF Notes
PDF
No ratings yet
CF Notes
57 pages
CSA
PDF
No ratings yet
CSA
49 pages
Ies Unit 5 Ass
PDF
No ratings yet
Ies Unit 5 Ass
8 pages
SPOS Theory Assignment 1
PDF
No ratings yet
SPOS Theory Assignment 1
10 pages
IT Mid
PDF
No ratings yet
IT Mid
25 pages
Ec3492 DSP Unit V Handwritten Notes
PDF
No ratings yet
Ec3492 DSP Unit V Handwritten Notes
29 pages
ESD
PDF
No ratings yet
ESD
15 pages
DocScanner Aug 4, 2023 11-42
PDF
No ratings yet
DocScanner Aug 4, 2023 11-42
27 pages
Csa Unit-2 Notes
PDF
No ratings yet
Csa Unit-2 Notes
15 pages
Bcs 11 pyq
PDF
No ratings yet
Bcs 11 pyq
56 pages
PYTHON Unit1-Notes
PDF
No ratings yet
PYTHON Unit1-Notes
46 pages
Ie1005 Notes (Lo1)
PDF
No ratings yet
Ie1005 Notes (Lo1)
6 pages
Microcontroller Assignment
PDF
No ratings yet
Microcontroller Assignment
16 pages
Module 1&2 Notes
PDF
No ratings yet
Module 1&2 Notes
26 pages
Introduction To Programming, C Notes
PDF
No ratings yet
Introduction To Programming, C Notes
34 pages
DDCO 3rd Module notes
PDF
No ratings yet
DDCO 3rd Module notes
30 pages
C Program Notes
PDF
No ratings yet
C Program Notes
137 pages
App. Computer 1-20p
PDF
No ratings yet
App. Computer 1-20p
20 pages
ACA Notes
PDF
No ratings yet
ACA Notes
17 pages
Assembly Language and Systems Programming For The IBM PC and Compatibles
PDF
No ratings yet
Assembly Language and Systems Programming For The IBM PC and Compatibles
222 pages
OS Unit-1
PDF
No ratings yet
OS Unit-1
17 pages
CP Note Sakib'25
PDF
No ratings yet
CP Note Sakib'25
46 pages
16a51a0458. Erts PDF
PDF
No ratings yet
16a51a0458. Erts PDF
63 pages
Coa Notes - Sandeep Sir
PDF
No ratings yet
Coa Notes - Sandeep Sir
25 pages
OS Unit 1
PDF
No ratings yet
OS Unit 1
26 pages
Operating System Chapter 1
PDF
No ratings yet
Operating System Chapter 1
24 pages
Class 11 Ip
PDF
No ratings yet
Class 11 Ip
25 pages
SPL Question Pattern Solve
PDF
No ratings yet
SPL Question Pattern Solve
58 pages
Se RG-1
PDF
No ratings yet
Se RG-1
53 pages
Class 9 I.T. CH 4 Solution - 20231117
PDF
No ratings yet
Class 9 I.T. CH 4 Solution - 20231117
34 pages
OS
PDF
No ratings yet
OS
53 pages
PPL Unit I-1-12
PDF
No ratings yet
PPL Unit I-1-12
12 pages
PDC Mid
PDF
No ratings yet
PDC Mid
42 pages
CamScanner 09-11-2022 17.47
PDF
No ratings yet
CamScanner 09-11-2022 17.47
11 pages
Computer Science U L &u LL Half
PDF
No ratings yet
Computer Science U L &u LL Half
75 pages
CAO Notes
PDF
No ratings yet
CAO Notes
28 pages
Operating System - PDF RR
PDF
No ratings yet
Operating System - PDF RR
32 pages
I P Unit-1
PDF
No ratings yet
I P Unit-1
19 pages
Unit Wise Notes
PDF
No ratings yet
Unit Wise Notes
50 pages