You are on page 1of 2

SHRI RAMSWAROOP

MEMORIAL UNIVERSITY

PYTHON LAB FILE


Session: 2023-24

SUBMITTED BY: SUBMITTED TO:


Sarthak Shukla Mr. Anand Kumar
B.Tech CS(DS+AI)
Group 19/10
202310101150253
INDEX
S.NO Name of Experiment Page Date Faculty Remarks
No. signature
1 Write a program to calculate
the area of rectangle using user
provided width and length.
2 Write a program to find the
Prime Number in given range.
3 Write a program to print
“FIZZ” if number is divisible
by 3,print
4 Write a program to check
whether the string or number
is palindrome or not.
5 write a program using any five
methods in each data
structure-List, tuple,
dictionary and set.
6 Write a program to create
separate functions that accept a
list of numbers as input and
return the largest number in
the list, Smallest number in the
list and mean of the list
7 Write a program to create three
classes ‘A’, ‘B’, ‘C. Have class
‘A’ and ‘B’ inherit from ‘object’
and then create class ‘C’ that
inherit from both ‘A’ and ‘B’.
8 Write a program to
demonstrate any five kinds of
Exceptions.
9 Write a program to save the
user credentials in your local
system using file handling.
10 Write a program to create a
text file and then add some text
in it, count the number of
words and print the result in
another file.

You might also like