Python Certificate & Index
Python Certificate & Index
CERTIFICATE
Name: Mr./Ms.______________________________________________________________
This is certified to be a bonafide record of practical works done by the above student in the
college laboratory for the course________________(Course Code:______) for the partial
fulfillment of ____semester of_____________________during the academic year 2023-2024.
The journal work is the original study work that has been duly approved in the year 2023-
2024 by the undersigned.
______________________ ___________________________
SUBJECT:
2 Write a python code to find LCM and GCM of a given list Sept 23
10 Write a program to iterate a given list and count the 18th Oct 23
occurrence of each element and create a dictionary to
show the count of each element.
11 Find the intersection (common) of two sets and remove 18th Oct 23
those elements from the first set
12 Get all values from the dictionary and add them to a list 18th Oct 23
but don’t add duplicates
13 Create a Cricle class and intialize it with radius. Make two 18th Oct 23
methods getArea and getCircumference inside this class.
14 Create a Temprature class. Make two methods : 18th Oct 23
1. convertFahrenheit - It will take celsius and will print it
into Fahrenheit.
2. convertCelsius - It will take Fahrenheit and will convert
it into Celsius.
15 Create a Time class and initialize it with hours and 23rd Oct 23
minutes.
1. Make a method addTime which should take two time
object and add them. E.g.- (2 hour and 50 min)+(1 hr and
20 min) is (4 hr and 10 min)
2. Make a method displayTime which should print the
time.
3. Make a method DisplayMinute which should display
the total minutes in the Time. E.g.- (1 hr 2 min) should
display 62 minute.
16 Write a function “perfect()” that determines if parameter 23rd Oct 23
number is a perfect number. Use this function in a
program that determines and prints all the perfect numbers
between 1 and 1000.