GOVT. V.Y.T.
PG AUTONOMOUS COLLEGE,
DURG, C.G., INDIA
Session: 2025-26
BCA - VI Semester
Practical Assignment on
PROGRAMMING IN PYTHON
GUIDED BY: SUBMITTED BY:
Prof. Dileep Kumar Sahu _____________________
Roll No:__________
PROGRAMMING IN PYTHON
INDEX
1. Write a python program that reads an integer value and prints —leap year or —not a
leap year.
2. Write a python program that takes two number and print the sum of these numbers.
3. Write a python program to create the following Pattern
For example, enter a size: 5 -
*
**
**
****
*****
4. Write a python program function that takes an integer input and calculates the factorial
of that number,
5. Write a python program function that takes a string input and checks if it is a
palindrome or not.
6. Write a python program list function to convert a string into a list, as in list (-abc)
gives [a, b, c].
7. Write a python program to generate Fibonacci series.
8. Write a python program to check whether the input number is even or odd.
9. Write a python program to compare three numbers and print the largest one.
10. Write a python program to print factors of a given number.
11. Write a python method to calculate GCD of two numbers.
12. Write a python program to read and write data from text file.
13. Write a python program to read and write text from csv file.
14. Write a python program to draw column graph using Matplotlib module.
15. Write a python program to draw pie graph using Matplotlib module.
16. Write a python program to implement multilevel inheritance.
17. Write a python program to implement constructor of a class.