List of Lab Programs
- Program to convert the given temperature from Fahrenheit to Celsius and vice versa
depending upon user’s choice. - Program to calculate total marks, percentage and grade of a student. Marks obtained
in each of the five subjects are to be input by user. Assign grades according to the
following criteria:
Grade A: Percentage >=80 Grade B: Percentage >=70 and <80 Grade C: Percentage >=60 and <70 Grade D: Percentage >=40 and <60
Grade E: Percentage <40 - Program, to find the area of rectangle, square, circle and triangle by accepting suitable
input parameters from user. - Program to display the first n terms of Fibonacci series.
- Program to find factorial of the given number using recursive function.
- Write a Python program to count the number of even and odd numbers from array of
N numbers. - Python function that accepts a string and calculate the number of upper case letters
and lower case letters. - Python program to reverse a given string and check whether the give string is
palindrome or not. - Write a program to find sum of all items in a dictionary.
- Write a Python program to construct the following pattern, using a nested loop
- 1
- 22
- 333
- 4444
- 55555
- 666666
- 7777777
- 88888888
- 999999999
- Read a file content and copy only the contents at odd lines into a new file.
- Create a Turtle graphics window with a specific size.
- Write a Python program for Towers of Hanoi using recursion
- Create a menu-driven Python program with a dictionary for words and their meanings.
- Devise a Python program to implement the Hangman Game.