MAHARANA PRATAP GROUP OF INSTITUTIONS
KOTHI MANDHANA KANPUR
(Approved by UGC New Delhi and Affiliated to CSJMU Kanpur)
LAB FILE
[Department of Computer Applications]
Lab Name : Python Programming
Lab Code : BCA-3001P
Course : BCA
Branch : Second Year
Semester : 3rd
Lab Faculty : Mr. Kaustubh Narayan Tripathi
Student Name : Subhant Mishra Roll No:22015001543
SESSION 2022-23
CERTIFICATE
This is to certified that Mr.Subhant Mishra Roll Number 22015001543 of BCA Semester
–3rd has satisfactorily completed the lab work of “Python Programming” (BCA-3001P)
prescribed by CSJMU during the academic session 2022-23 under my supervision.
Date: Name & Signature of the Lab Faculty
Mr. Kaustubh Narayan Tripathi
INDEX
EXP. DATE OF TEACHER’S
EXPERIMENT NAME REMARKS
NO. EXPERIMENT SIGNATURE
Write a program to find any table.
1..
Write a program to find factorial number.
2.
Write a program to find swap of two
3. variables without third variable.
Write a program to print swap of two
4
variable using third variable.
Write a program to find greatest of three
5 numbers using function.
6. Write a program to find simple interest and
compound interest.
7.
Write a program to find Fibonacci series.
Write a program to print the following
patterns.
* 1 11111 A
8. ** 11 2222 AB
*** 111 333 ABC
**** 1111 33 ABCD
***** 11111 3 ABCDE
Write a program to find area and perimeter
Of circle.
9.
Write a program to find power of number
10.
using using exponential function.
11. Write a program to power of number
Without using exponential function.
Write a program to take two list by using
input function and find the sum of
l list:-
12.
[[5,4,3,2],[1,5,3,2]]
[[5,2,3,4],[4,6,5,8]]
Write a program to find swap of two
variables
13. Without using third variable and using third
variable with the respect of function.
14.
Write a program to print list using function.
Write a program to find greatest of three
15.
numbers using function.
Write a program to find any table and
16.
factorial number using function
Write a program to print dictionary for following
given condition:-
(i)Accessing elements from dictionary.
17. (ii)Changing , Adding and Removing
From dictionary
(iii) Add value in list from dictionary
and sorted of dictionary.
18. Write a program to print dictionary for
built in functions and dictionary
methods.
19. Write a program to print following
given patterns by using function.
(I) (II)
***** 54321
**** 5432
*** 543
** 54
* 5
20. Write a program to print the following
given pattern by using function:-
ABCDEFG
ABCDEF
ABCDE
ABCD
ABC
AB
A
A
AB
ABC
ABCD
ABCDE
ABCDEF
ABCDEFG
21. Write a program to print factorial
number using recursion function.
22. Write a program to implemented
calculator using module.
23. Write a program to calculate area of circle
Area of square and area of rectangle using
Module.
24 Write a program to print your age by using
datetime module .
25 Write a program to convert tuple or
struct_time class of objects to 24 character of
string using strftime().
26 Write a program to print
time(),gmtime(),localtime(),mktime(),ctime(),
asctime() with conversion using time module.
27 Write a program to print current date and
time.
28 Write a program to print factorial number
using recursion.