PYTHON PROGRAMS LIST
DATE OF SUBMISSION: 19/01/2026
1 Biggest of three numbers
2 Write a Python program to calculate the Body Mass Index (BMI) and
determine the health status of a person.
a) Take the following inputs from the user:
• Weight in kilograms
• Height in meters
b) Calculate BMI using the formula:
BMI = Weight / (Height × Height)
c) Determine the health status based on the BMI value using the criteria
below:
• Underweight: BMI < 18.5
• Normal weight: 18.5 ≤ BMI < 24.9
• Overweight: 25 ≤ BMI < 29.9
• Obese: BMI ≥ 30
d) Display the calculated BMI and the corresponding health status.
3 Write a Python program to calculate the percentage and grade of a student.
a) Accept marks for five subjects:
• Mathematics
• Social Science (SSC)
• English
• Science
• Hindi
b) Take the total maximum marks for all subjects as input.
c) Calculate the percentage and assign grades based on this criteria:
• A+: 90% and above
• A: 80%–89.9%
• B+: 70%–79.9%
• B: 60%–69.9%
• C+: 50%–59.9%
• C: 40%–49.9%
• F: Below 40%
d) Display the percentage and grade.
4. Check whether a given number is prime or not.
5. Factorial of a number
6. Fibonacci Series
7. Count and display the number of vowels, consonants, uppercase, lowercase
characters in string.
8. Input a string and determine whether it is a palindrome or not; convert the
case of characters in a string.
9. Find the largest and smallest number in a list
10. Find the third largest/smallest number in a list
11. Program to find average of numbers in a List
12. Searching an element in a List
13. Create a dictionary with the roll number, name and marks of n students in a
class and display the names of students who have scored marks above 75.
14. Write a python code to count the words which starts with a of vowels in a list
15. Write a python code to create a dictionary which accepts names of the
students as valuers corresponding to the suitable keys. Display all the names
which starts with a vowel.
16. Write a program that prompts the user for a string s and a character c, and
outputs the string produced from s by capitalizing each occurrence of the
character c in s and making all other character’s lowercase.
17. Write a program to accept a list of words and display the words which are
palindrome
18. Write a program to accept a list of words and display the words which starts
with vowels
19. Write a program that interactively create a nested tuple to store the marks in
three subjects for five students.
20. In the program created in previous question, add a function that computes
total marks and average marks obtain by each student.