Param Bhati
X
R
23
AI Practical File
2024-2025
Teacher In-charge Principal
Table of contents
S.no Name of Practical
1. Write a Python program to create a list and add elements to it.
2. Write a Python program to add the elements of the given two lists.
3. Write a Python program to implement a simple calculator program
Write a Python program to find sum of even and sum of odd
4.
numbers separately from the given list.
Write a Python program to perform basic statistical operations in
5.
Python.
6. Write a program to draw line plot using matplotlib library
7. Write a program to draw bar chart using matplotlib library
8. Write a program to draw pie chart using matplotlib library
9. Write a program to draw scatterplot using matplotlib library
10. Write a program to draw histogram chart using matplotlib library
Write a program to read a csv file saved in your system and display
11.
its information using Python.
Write a Python program to read and display an image using the
12.
OpenCV library.
Write a Python program that reads an image and displays it in its
13.
original RGB color format instead of the default BGR format.
Write a Python program using OpenCV to convert an image to
14.
grayscale and display it.
15. Write a Python program to crop an image using OpenCV library.
TEACHER SIGN
PRACTICAL PROGRAMS
1. Write a Python program to create a list and add elements to it.
OUTPUT :
2. Write a Python program to add the elements of the given two lists.
OUTPUT :
3. Write a Python program to implement a simple calculator program.
OUTPUT :
4.
Write a Python program to find sum of even and sum of odd numbers
separately from the given list.
OUTPUT :
DATA SCIENCE
5. Write a Python program to perform basic statistical operations in
Python.
OUTPUT :
6.
Write a program to draw line plot using matplotlib library
OUTPUT :
7. Write a program to draw bar chart using matplotlib library
OUTPUT :
8.
Write a program to draw pie chart using matplotlib library
OUTPUT :
9. Write a program to draw scatterplot using matplotlib library
OUTPUT :
10. Write a program to draw histogram chart using matplotlib library
OUTPUT :
11. Write a program to read a csv file saved in your system and display
its information using Python.
SOURCE CODE :
OUTPUT :
COMPUTER VISION(OpenCV)
Note : First, run the command ‘pip install opencv-python’ to install
OpenCV, then write your program to execute computer vision tasks.
12. Write a Python program to read and display an image using the
OpenCV library.
SOURCE CODE :
OUTPUT :
13. Write a Python program that reads an image and displays it in its
original RGB color format instead of the default BGR format.
SOURCE CODE :
OUTPUT :
14. Write a Python program using OpenCV to convert an image to
grayscale and display it.
SOURCE CODE :
OUTPUT :
15. Write a Python program to crop an image using OpenCV library.
SOURCE CODE :
OUTPUT :