LAB 1
Experiment 1 => WAP that takes a name as input and prints welcome {name} on the screen.
Output:
Experiment 2 => WAP to take two numbers as input and print their sum, difference and product.
Output:
Experiment 3 => WAP to find square and cube of a number entered by user.
Output:
Experiment 4 => WAP to find average of 3 numbers entered by user.
Output:
Experiment 5 => WAP to convert Celcius to fahrenheit temperature.
Output:
Experiment 6 => WAP that’s takes 2 numbers as inputs and prints all arithmetic operations.
Output:
Experiment 7 => WAP to check whether number is divisible by both 3,5 or not.
Output:
Experiment 8 => WAP that’s takes an integer and that takes an integer and prints wheter less, greater
or equals to 100 or not.
Output:
Experiment 9 => WAP that’s demonstrates all boolean operations.
Output:
Experiment 10 => WAP that’s takes 2 numbers and prints value of (a**2 +b**2)/(a+b).
Output:
LAB 2
Experiment 1 => WAP to find largest of 3 numbers.
Output:
Experiment 2 => WAP to check given year is leap or not.
Output:
Experiment 3 => WAP to calculate grade of student.
Output:
Experiment 4 => WAP to check given is prime or not.
Output:
Experiment 5 => WAP to print number pyramid.
Output:
LAB 3
Experiment 1 => WAP to find 2nd largest number in list.
Output:
Experiment 2 => WAP to remove duplicates in list.
Output:
Experiment 3 => WAP to split list into even and odd lists.
Output:
Experiment 4 => WAP to convert tuple to list.
Output:
Experiment 5 => WAP to show set operations.
Output:
LAB 4
Experiment 1 => WAP to set student database.
Output:
Experiment 2 => WAP for palindrome.
Output:
Experiment 3 => WAP to count ovels and digits in string.
Output:
Experiment 4 => WAP to reverse words in sentence.
Output:
Experiment 5 => WAP to print primes upto n.
Output:
LAB 5
Experiment 1 => WAP to create a file and write 5 lines in it.
Output:
File:
Experiment 2 => WAP to find number of lines in a file.
Output:
File:
Experiment 3 => WAP to merge two files.
File 1:
File 2:
File 3:
Experiment 4 => WAP to handle zero division error.
Output:
Experiment 5 => WAP to raise value error if given age is less than 18.
Output:
Experiment 6 => WAP to open a file if file is not existed displays file not found.
Output:
LAB 6
Experiment 1 => WAP by using numpy find mean, median and standard deviation of three numbers.
Output:
Experiment 2 => WAP plot a graph of curve Y=X*2 using matplotlab by giving values as -10 to 10.
Output:
Experiment 3 => WAP to create a bar chat of four students as given [A, B, C, D] = [20,25,30,22]and
title as 'student per class.
Output:
Experiment 4 => WAP create a car class by attributes as brand and colour. add methods start () and
stop () and create objects for calling them.
Output:
Experiment 5 => WAP create a bank account class with method deposit () and withdraw balance ()
perform them and show updates.
Output:
Experiment 6 => WAP create a parent class and a child class inherited by the parent class and show
that child class is inherited by parent class.
Output: