0% found this document useful (0 votes)
56 views20 pages

Python Practicals

Python codes

Uploaded by

Uday Gumre
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
0% found this document useful (0 votes)
56 views20 pages

Python Practicals

Python codes

Uploaded by

Uday Gumre
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
MATSYODARI SHIKSHAN SANSTHA'S COLLEGE OF ENGINEERING AND TECHNOLOGY NAGEWADI, JALNA - 431 203 Subject: Python pio: INDEX Academic Year: 2013 - ho my Sr. 1 | Po glam ste calculate are of ale, 1to3 Leclangle and citcle feo gram to find the union of two lis} Atos" Froqiam te find inletsechon of tue st ¢ Proqiam tp remove ‘ith occurence ths S: | Program te count occurente of 3 each word in aiven sting 6 | Preoqiam to check substing fresen} 10 F-| Program te map +20 list inlo died. 4 froqtam te count frequenyy of pu words VPearing in string by dich q. | Proararn focgeate dictwithkerait 14715 Tod prearam tohind lenelh of list 16 ne] Compute the diamejea citgum lence IP 018 TL | feoqram to bend Catahinc 15* Jolley '§ Certified that SHr/Kum. Seqdond Ditel? Ani] ciass_2°4 Yeor Roll No. 4272 has conducled the above experiments with in four walls of the Institution. Date: Lecture-in-Charge Head of the Dept. Principal @ scanned with OKEN Scanner SF B® vss: a MSS's COLLEGE oF ENGINEERING & TECHNOLOGY, NAGEWADI, JALNA. 6 2 * Se at : . Y Quement utiles Motcboolt, wogram § Hf Pam ue den he base aod_heiall -{ 4 jangle a5 in cq tiiy Meo = bt bh Jo po pal Te elle aren at Geog le ual (" meg =" area) * Chub Inpu the bose ? 20 Tnpu he height : 40 aren i400 —————— @ scanned with OKEN Scanner 8D gs: a, MSS's: COLLEGE OF ENGINEERIN' (— }P St Aiea of Reclanale |}-——l_= inl (input (foley the engl of the reclang a= inl ¢ mat foler the toulllt of teclangle")) nieq of Reclanale = |] ¢ w- IG & TECHNOLOGY, NAGEWADI, JALNA. ¥ = punt C" Area of Ree angle is “area of Rechangle ) oule } 3 Enter ee Poclangle : ‘4 Nien of Rerkangle = 168 © #Arca of Ciicle_ i b= in Cupat C" foler the radius of il ” z aan Sot ciscle | Qiea of “circle off srk r paink (tien of circle is "| area of circle) IE == a @ scanned with OKEN Scanner c MSS's COLLEGE OF ENGINEERING & TECHNOLOGY, NAGEWADI, JALNA. i= — |ouloul 8 Area of circle 48.5" Resulf 3 ihus Le. calculale the ayea of and Circle 1 rectangle 3 | Page No. @ scanned with OKEN Scanner Be n, MSS‘ as MSS's COLLEGE oF ENGINEERING & TECHNOLOGY, NAGEWADI, JALNA. _ So flare Requircmen! : Jupiter Molebeck fol lis] | = [ 10,20, 30] list > 7 [ 40, 50,60 ,J0,80] Mists = "jist 1 Tish punt Clisks ) Ov ul [to,20, 30,40, so 60, Fo: 80] He 2. (oR) Vist 2 “= [ to, 20 150] {2 [ 40,50, 60,70, so] poe ee | , list I a Ga a oul ful - L ford 10140, 50, 60,90, bo] IE 4 =} Page No, @ scanned with OKEN Scanner ‘5 MSS's COLLEGE of ENGINEERIN TECHNOLOGY, NAGEWADI, JALNA. | |e Fin as ae EY islt = [ 10,20, 50] lists = ( 40, 50,60 Jo, 80] L_culpuf 3 | [0 ciate OMG iano 60, to. Zo} @ scanned with OKEN Scanner & us S's Cr = OLLEGE OF ENGINEERING & TECHNOLOGY, NAGEWADI, JALNA. [ran nn | 3 03 Software peguam [auf —pisgian Te ind The —ialnaedion of —| Jie de 2 Eee Wolebok t Tupiter Mofebook . Lisl ! [ lie! 10,20 ,30] 2. [40,10 ,30,50,60,40 £0] lists = Ty for ele in lisf 1? iH ele in ist 4 7 [st 3. cppen ele puink Clist 3 ff ou ul ° [Link], so] Result & Thus we find the inter telanlnl two lists. =| Page No. @ scanned with OKEN Scanner EE MSS's COLLEGE oF ENGINEERING & TECHNOLOGY, NAGEWADI, JALNA. given ; ee Peat J word ino lis Software Requirement ¢ Jupiter Not boole plogiam 3 lish 1 esfi car”. trock” ‘molorcycles “ car” | Car “Scooter, " turk", Scooter Motorcycle" "cor ” + {425 word = "Car" AF abou fo delete zid occurente of eal" in this isl punk original Til 2” diet 1) indy =O. .~ oul =O ales ind < |en (tisk 1)? in = Word L Count = Coun td if fount s-f 2? — E Tm — Page No. $< @ scanned with OKEN Scanner ® uss's couse = sf tei OF ENGINEERING & TECHNOLOGY, NAGEWADI, JALNA. o ind } 4 puind Undated lish 2) Tis LL [oulpul 3 | original lish 2 co, hacks" motorcycles Cor’ ‘Car’! Srooker’ ‘truck’ ' Scooler ‘malorcycle’ ‘tar! J updated list s Eco’ "turk! ‘madorey cle’ torte Usfooler™s UStoober’ rar) @ scanned with OKEN Scanner aR ai MSS's COLLEGE OF ENGINEERIN Fru. & TECHNOLOGY, NAGEWADI, JALNA. SI "There “was 9 King «We boos very | OM Is = she sip ee 9) Sel 1 = set 'chs) i £ -1 was -~ 4 there - 4 a = king = | IE of each WOT* wa lI @ scanned with OKEN Scanner &® uss, a MSS's COLLEGE OF ENGINEERIN |[—— == TECHNOLOGY, NAGEWAD!, JALNA. erence Sraclical to: 26 ———] tuten) pregiarn fo cheek if a ) Lobi. close 0) out rut © There was A king. He Wos Vay Brave Pesulh : _ This we caplalize the fist letter ot every wold + IE ——S i I S——— Pays No. ———>=>>S>SESES>S== @ scanned with OKEN Scanner

You might also like