Rajasthan College of Engineering for Women
Department of Computer Science and Engineering
Semester – VI Session: 2024-2025 Subject: Python Lab
[Link] Program Title of Program No. of Batch Expected Revised Date
No. periods starting date
required
1 Prog. 1 Write a program to demonstrate 1 A1 21/01/2025
basic data type in python. A2 23/01/2025
2 Prog. 2 Write a program to compute 1 A1 28/01/2025
distance between two points
taking input from the A2 30/01/2025
user
3 Prog. 3 Write a program [Link] that 1 A1 4/02/2025
takes 2 numbers as command
line arguments and A2 6/02/2025
prints its sum.
4 Prog. 4 Write a Program for checking 1 A1 11/02/2025
whether the given number is an
even number or A2 13/02/2025
not.
5 Prog. 5 Using a for loop, write a 1 A1 18/02/2025
program that prints out the
decimal equivalents of A2 20/02/2025
1/2, 1/3, 1/4, . . . , 1/10
6 Prog. 6 Write a Program to demonstrate 1 A1 25/02/2025
list and tuple in python. A2 27/02/2025
7 Prog. 7 Write a program using a for 1 A1 4/03/2025
loop that loops over a sequence. A2 6/03/2025
8 Prog. 8 Write a program using a while 1 A1 11/03/2025
loop that asks the user for a
number, and prints A2 20/03/2025
a countdown from that number
to zero.
9 Prog. 9 Find the sum of all the primes 1 A1 18/03/2025
below two million.
By considering the terms in the
Fibonacci sequence whose
values do not A2 27/03/2025
exceed four million, WAP to
find the sum of the even-valued
terms.
10 Prog. 10 Write a program to count the 1 A1 25/03/2025
numbers of characters in the
string and store A2 3/04/2025
them in a dictionary data
structure
11 Prog. 11 Write a program to use split 1 A1 1/04/2025
and join methods in the string
and trace a
birthday of a person with a A2 10/04/2025
dictionary data structure
Write a program to count
frequency of characters in a
given file. Can you use
character frequency to tell
Rajasthan College of Engineering for Women
Department of Computer Science and Engineering
whether the given file is a
Python program file, C
program file or a text file?
12 Prog. 12 Write a program to count 1 A1 8/04/2025
frequency of characters in a
given file. Can you use
character frequency to tell
A2 17/04/2025
whether the given file is a
Python program file, C
program file or a text file?
13 Prog. 13 Write a program to print each 1 A1 15/04/2025
line of a file in reverse order.
Write a program to compute the A2 24/04/2025
number of characters, words
and lines in a file.
14 Prog. 14 Write a function nearly equal to 1 A1 22/04/2025
test whether two strings are
nearly equal. Two strings a and
b are nearly equal when a can
be generated by a single A2 1/05/2025
mutation on. Write function to
compute gcd, lcm of two
numbers. Each function
shouldn’t exceed one line.
15 Prog. 15 Write a program to implement 1 A1 29/04/2025
Merge sort. Write a program to
A2 8/05/2025
implement Selection sort,
Insertion sort.
Faculty Signature HOD CSE