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)
79 views
Python Practicals
Python codes
Uploaded by
Uday Gumre
AI-enhanced title
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
Download now
Download
Save Python practicals For Later
Download
Save
Save Python practicals For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
79 views
Python Practicals
Python codes
Uploaded by
Uday Gumre
AI-enhanced title
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
Download now
Download
Save Python practicals For Later
Carousel Previous
Carousel Next
Save
Save Python practicals For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 20
Search
Fullscreen
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 ScannerSF 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 Scanner8D 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 Scannerc 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 ScannerBe 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 ° L.le, so] Result & Thus we find the inter telanlnl two lists. =| Page No. @ scanned with OKEN ScannerEE 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 ScanneraR 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
—Sppeauin g i 2 ns nee , : ie oa dict df Soffa ; | Software Br Wuement ¢ Turiber Nolrbook > i=) while i< C" thler an alphabet” tl pha = inpul 1) ink 0" Enter word being with", alpha) oe = input 0 ss d Calta} = Word tos ity print cd) ol ° Enly_an_althabef P. Enter nail begins eilh f= Cian Bi q t Tlie word begins wilh vit Vaibhav = We | a @ scanned with OKEN Scanneray MSS's COLLEGE MVEGE OF ENGINEERING & TECHNOLOGY, HAGEWADI, JALNA. dichtanary Oppeniind TT J ip slung iequen ty Using a a) @ scanned with OKEN Scannerpve) MSS's ee ‘OLLEGE 9 Wods = shing L- spliftt” L__dirlion ary =" 4} or thor in oad if chor To] nak in Aiclisnary beys (U0 Aigliengry [char Col] =f] @ scanned with OKEN Scanner® 4 a MSS's COLLEGE oF En, — IGINEERING & TECHNOLOGY, NAGEWADI, JALNA, culpul ® 3 ie is asy jo undetsym Qe ribo Ps Pie eta) bel) i tus ft Understand "1 4} : fesulf ¢ Thus we Create a Ticlionarsy with fey | as tieh chuacker an value as / words Sharting with character Lt OT _ OT aaaeeeg EG aS RST AETER CR @ scanned with OKEN ScannerSn a fui 3 rupiter otthos pogrom 3 1 at Count = Count + L tec lenolh (a [227 ) 7 tehn coun lishdi = f t273, G86. Fo) 9] ° ot chalk - (list 1) w fit 1 34 2 = 7 no y tn is Isin Recursiod Pe @ scanned with OKEN Scannerie eee a 2. MSS's COLI = LEGE OF ENGINEERING & TECHNOLOGY, NAGEWAD!, JALNA- S Qs [Sol Lware Requirement = Turiter Notebook fiegiany : - ima ma h class Sphere ¢ def. | init — Cself ro self. ius = radius def eslctirimntirente Crlf) 2 Yelurn 2 % malh pi self fodins def volume Cself) refuin (41s) % math -Pr X selk -radiusy y= int Cinpul: C“foler The tadive of sphere yy obi = thus C1) - a i Sele end @ scanned with OKEN ScannerCir Nolume of sphere 8 5'25-59 Result S$ Thus we Computer Cireurmference . diameder and volume of sphere using class @ scanned with OKEN Scanner——<—_— NGINEERING & TECHNOLOGY, NAGEWADI, JALNA: —iaclical poe 3 12 Letter of Cyery word Software Peauinemen} 3 Jupiler _Pobebook program 8 : Lobi = open CY fectfile 2b) "2D fob. Lil CO" Thre was _a King «he was Very brave "4 Fobi . close C) Fobia = open ( feslfile 2. fxF™ 1") 3 = fobf2.tead O fobi2 + close 0 $2 = s-fitle oc) fobjs = open (" destfitler dnt", 19°) Fobis- Loite Cs>) 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
урок What is engineering
PDF
No ratings yet
урок What is engineering
10 pages
Python Photocopy Jul 18, 2023 3-16 PM
PDF
No ratings yet
Python Photocopy Jul 18, 2023 3-16 PM
34 pages
Computer Worksheet
PDF
No ratings yet
Computer Worksheet
14 pages
圖說演算法
PDF
No ratings yet
圖說演算法
258 pages
DS Assignment
PDF
No ratings yet
DS Assignment
16 pages
20240216-I B.tech II Sem Supple Exam Timetable (Mr20, Mr21, Mr22)
PDF
No ratings yet
20240216-I B.tech II Sem Supple Exam Timetable (Mr20, Mr21, Mr22)
3 pages
Interfaces and Packages in Java.
PDF
No ratings yet
Interfaces and Packages in Java.
38 pages
Ds Record
PDF
No ratings yet
Ds Record
49 pages
Algo Lab-1
PDF
No ratings yet
Algo Lab-1
32 pages
C++ Pratical PDF
PDF
No ratings yet
C++ Pratical PDF
26 pages
1st Sem C-Programming
PDF
No ratings yet
1st Sem C-Programming
11 pages
C Language Handwritten Notes With Sample Codes
PDF
No ratings yet
C Language Handwritten Notes With Sample Codes
103 pages
Adobe Scan 23 Aug 2022
PDF
No ratings yet
Adobe Scan 23 Aug 2022
8 pages
EEE 2
PDF
No ratings yet
EEE 2
12 pages
Java Practicals 2.0
PDF
No ratings yet
Java Practicals 2.0
40 pages
Data Structures ShortNotes
PDF
No ratings yet
Data Structures ShortNotes
15 pages
Date 12 June Summer Camp Notes
PDF
No ratings yet
Date 12 June Summer Camp Notes
11 pages
DSA 2022 Paper
PDF
No ratings yet
DSA 2022 Paper
41 pages
SBTET - Academics - Rationalization of old schemes C09, C14, C16 & C16S to C18 for issue of single question pape_0001
PDF
No ratings yet
SBTET - Academics - Rationalization of old schemes C09, C14, C16 & C16S to C18 for issue of single question pape_0001
19 pages
Ms Syllabus
PDF
No ratings yet
Ms Syllabus
94 pages
INS
PDF
No ratings yet
INS
27 pages
BIOLOGY PRACTICAL FOR FINAL
PDF
No ratings yet
BIOLOGY PRACTICAL FOR FINAL
4 pages
Computer Architecture and Organization
PDF
No ratings yet
Computer Architecture and Organization
56 pages
BCP AB
PDF
No ratings yet
BCP AB
65 pages
PIC unit 3.Arrays and Structure
PDF
No ratings yet
PIC unit 3.Arrays and Structure
22 pages
BWT Assignment 2
PDF
No ratings yet
BWT Assignment 2
21 pages
PIP Minor Assignment - 10 (Saswat Mohanty - 1941012407 - CSE-D)
PDF
No ratings yet
PIP Minor Assignment - 10 (Saswat Mohanty - 1941012407 - CSE-D)
11 pages
Unit-1 Introduction of TOC
PDF
No ratings yet
Unit-1 Introduction of TOC
14 pages
Shrikant Sir - Java PECE8
PDF
No ratings yet
Shrikant Sir - Java PECE8
119 pages
OOP Both UT
PDF
No ratings yet
OOP Both UT
18 pages
OOPS Record MMP
PDF
No ratings yet
OOPS Record MMP
31 pages
607740 深入实践C++模板编程.温宇杰 (详细书签)
PDF
No ratings yet
607740 深入实践C++模板编程.温宇杰 (详细书签)
317 pages
Java Record
PDF
No ratings yet
Java Record
11 pages
Computer Science Practical Amit Bikram Mishra Class Xii Science A
PDF
No ratings yet
Computer Science Practical Amit Bikram Mishra Class Xii Science A
18 pages
OL Englih Asiriyam Ict 1
PDF
No ratings yet
OL Englih Asiriyam Ict 1
5 pages
MP Unit 2 Notes
PDF
No ratings yet
MP Unit 2 Notes
37 pages
Cyber Security Lab
PDF
No ratings yet
Cyber Security Lab
18 pages
8
PDF
No ratings yet
8
2 pages
CN 2103092 C22
PDF
No ratings yet
CN 2103092 C22
70 pages
New Doc 02-22-2024 23.56
PDF
No ratings yet
New Doc 02-22-2024 23.56
27 pages
Python
PDF
No ratings yet
Python
16 pages
18cs652 Assignment 2
PDF
No ratings yet
18cs652 Assignment 2
6 pages
Maths worksheet 2
PDF
No ratings yet
Maths worksheet 2
19 pages
CNS Lab PRGM
PDF
No ratings yet
CNS Lab PRGM
12 pages
CP FILE-1
PDF
No ratings yet
CP FILE-1
89 pages
KSOU DME (Model Question Papers) - 3rd SEMESTER
PDF
No ratings yet
KSOU DME (Model Question Papers) - 3rd SEMESTER
63 pages
c programming
PDF
No ratings yet
c programming
26 pages
Computer Work
PDF
No ratings yet
Computer Work
42 pages
PPS Class Notes.3
PDF
No ratings yet
PPS Class Notes.3
32 pages
4a.dsa (Detailed Handwritten Notes)
PDF
No ratings yet
4a.dsa (Detailed Handwritten Notes)
108 pages
DSA Model QP-Soln 2023-24
PDF
No ratings yet
DSA Model QP-Soln 2023-24
34 pages
DS Notes Unit 1
PDF
No ratings yet
DS Notes Unit 1
32 pages
Daa 20231209
PDF
No ratings yet
Daa 20231209
63 pages
Computer Notes (Complete)
PDF
No ratings yet
Computer Notes (Complete)
128 pages
Digital Design Unit 1
PDF
No ratings yet
Digital Design Unit 1
50 pages
Cse 411 TT 12
PDF
No ratings yet
Cse 411 TT 12
9 pages
C34_DLCA_196_NIKHIL (1)
PDF
No ratings yet
C34_DLCA_196_NIKHIL (1)
67 pages
Notesof C Language by Abhay Kumar Awasthi Till Recursion
PDF
No ratings yet
Notesof C Language by Abhay Kumar Awasthi Till Recursion
27 pages
New Doc 03-29-2020 12.27.15
PDF
No ratings yet
New Doc 03-29-2020 12.27.15
25 pages
List of students names
PDF
No ratings yet
List of students names
1 page
Assignment 1 HCI
PDF
No ratings yet
Assignment 1 HCI
1 page
HCI Winter 2023(8-1-2024)
PDF
No ratings yet
HCI Winter 2023(8-1-2024)
1 page
BHR Unit 5
PDF
No ratings yet
BHR Unit 5
21 pages