Python Programming External Lab
Python Programming External Lab
SET-2
1. Write a program to print multiplication table of a given number.
2. Create a dictionary with at least five keys and each key represent
value as a list where this list contains at least ten values and
convert this dictionary as a panda’s data frame and explore the
data through the data frame as follows:
a) Apply head () function to the panda’s data frame.
b) Perform various data selection operations on Data Frame.
SET-3
SET-4
1. Write a program to find the length of the string without using any
library functions.
2. Python program to demonstrate use of ndim, shape, size, dtype.
SET-6
SET-7
SET-8
1. Write a program to perform any 5 built-in functions by taking any
list.
2. Write a Python program to create a class that represents a shape.
Include methods to calculate its area and perimeter. Implement
subclasses for different shapes like circle, triangle, and square.
SET-9
SET-10
SET-11
1.Write a program to check if a given key exists in a dictionary or not.
2.Python program to compute the number of characters, words and
lines in a file.
SET-12
SET-13