List of Python Programs for Lab:
1. Decision making: Write a python Program for billing system in a shopping mall with discount
policy and tax calculations.
2. Looping : WAPP to generate a Fibonacci series
3. Recursive Function : Write a recursive function to find factorial of a number
4. List Operations : Write python functions to perform following operations
a) create a list
b) sort its contents in ascending and descending order
c) Add an element to the sorted list at proper place
d) Delete an element
5. Segregate items of a given list on the basis of data-types
6. Phone-book: WAPP to manage phone numbers of your friends in a dictionary and store it
permanently in a file. Use GUI interface in an attractive way.
7. String Traversal: Find the length of a given string and reverse in three different ways. Also find
whether the string is a flexible palindrome
8. WAPP to check whether the given string is a plain text, hyperlink or email id.
9. WAPP to check validity of email and password.
10. Spell checker: WAPP to input a text file name and check spellings of each and every word.
Suggest three nearest words and ask user for three different options (change, ignore and add to
dictionary). The checked list should be saved into another file with name (eg: “abcchecked.txt”)
11. Text file analysis: Find number of words, letters, vowels, consonants, uppercase, lowercase,
longest and shortest words, numbers and lettergrams (percentage of every letter, use dictionary to
store lettergrams).If possible, show the results through piecharts / barcharts etc.
12. GUI Calculator : WAPP for GUI calculator with basic arithmetic operations
13. Library database : WAPP to calculate fine for late return of book @ ₹ 0.25/day
14. Modules & Packages: Prepare a module for mensuration (eg: area/perimeter of square/
rectangle/ circle etc.) operations and use its functions in some other file after importing it.
15. Write a Python Program to calculate no. of days left in your friend’s b’day.
16. Write a Python program to illustrate use of classes and objects.
Any other productive programs of your choice