College of Technology and Engineering, MPUAT, Udaipur (Raj.
)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Index
Date of Sign/
Sr. Page
Topi
No No. Done Checke Remarks
c
d
1. Write a program to find the area and 1-1 07-08-2023
circumference of a circle.
2 Write a Program to check number is 2-2 07-08-2023
even or odd.
3 Write a program to find the largest 3-3 09-08-2023
among three numbers.
4 Write a program to print the table of 4-4 09-08-2023
a number.
5 Write a program to print prime number 5-5 16-08-2023
between 900 to 1000.
6 Write a program to print right angled 6-6 16-08-2023
‘#’ pattern.
7 Write a program to display the 7-7 21-08-2023
Fibonacci sequence upto nth term.
8 Write a program to check Armstrong 8-8 21-08-2023
number in a certain interval.
9 Write a program to find that the 9-9 23-08-2023
number is positive or negative using
ladder if-else.
10 Write a program to find that the 10-10 23-08-2023
number is positive or negative using
nested if-else.
11 Write a program to make a simple 11-12 28-08-2023
calculator.
12 Write a program to display the powers 13-13 28-08-2023
of ‘2’ using anonymous function.
13 Write a program to display the 14-14 04-09-2023
Fibonacci sequence using Recursion.
14 Write a program to transpose a matrix 15-16 06-09-2023
using a nested loop.
15 Write a program to find the sum of a 17-17 11-09-2023
natural number using Recursion.
16 Write a program to import a module. 18-18 13-09-2023
17 Write a program to mail merge. 19-20 18-09-2023
18 Write a program to find the size 21-21 20-09-2023
(Resolution) of an image.
19 Write a program to catch multiple 22-22 25-09-2023
exception as a Parenthesized Tuple
(in one line).
20 Write a program to split a list into 23-23 27-09-2023
evenly sized chunks.
Index
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Date of Sign/
Sr. Page
Topi
No No. Done Checked Remarks
c
21 Write a program to find hash of a 24-24 09-10-2023
file and display it.
22 Write a program to return multiple 25-25 11-10-2023
values from a function.
23 Write a program for catching 26-26 16-10-2023
Exceptions in Python.
24 Write a program to display 18-10-2023
Encapsulation.
25 Write a program to display 25-10-2023
Polymorphism.
26 Write a program to display 30-31 30-10-2023
Inheritance.
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Experiment-1
AIM: Write a program to find the Area and Circumference of Circle…
Code:
Output:
Experiment-2
AIM: – Write a program to check number is Odd or Even…
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Code:
Output:
Experiment-3
AIM: Write a program to find the largest among three numbers
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Code:
Output:
Experiment-4
AIM: – Write a program to print the Table of a number
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-5
AIM: Write a program to print Prime Numbers between 900 to 1000…
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-6
AIM: Write a program to print right-angled ‘#’ triangle …
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-7
AIM: Write a program to display the Fibonacci sequence upto n-th terms..
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-8
AIM: – Write a program to check Armstrong numbers in a certain interval…
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-9
AIM: Write a program to find that the number is positive or negative using
ladder if-else
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-10
AIM: Write a program to find that the number is positive or negative using nested if-
else
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-11
AIM: – Write a program to make a Simple Calculator…
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-12
AIM: Write a program to display the powers of 2 using anonymous function
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-13
AIM: Write a program to display the Fibonacci sequence using Recursion
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-14
AIM: – Write a program to transpose a matrix using a nested loop
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-15
AIM: – Write a program to find the Sum of Natural Numbers using recursion…
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-16
AIM: – Write a program to import a module…
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
Experiment-17
AIM: – Write a program to mail…
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Experiment-18
AIM: – Write a program to find the size (Resolution) of an image
Code:
Output:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Experiment-19
AIM: – Write a program to catch multiple exception as a Parenthesized Tuple (in one
line).
Code:
Output:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Experiment-20
AIM: – Write a program to split a list into evenly sized chunks.
Code:
Output:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Experiment-21
AIM: – Write a program to find hash of a file and display it.
Code:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Output:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Experiment-22
AIM: – Write a program to return multiple values from a function.
Code:
Output:
Experiment-23
AIM: – Write a program for catching Exceptions in Python.
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)
Code:
Output:
College of Technology and Engineering, MPUAT, Udaipur (Raj.)
Name –Hozefa Amar Class - B. Tech, III Year Branch - AI & DS Sem – V
Subject – Programming with Python (AI 351)