Python Programming Class – Assignment
Due Date: Sunday
Submission: Python .py file + In-class presentation (2–3 minutes)
Instructions
• Write a Python program to solve the selected problem.
• Prepare to present your solution in class.
Your presentation should cover:
- What the program does
- How your code works
- Any problems you encountered and solved
Question List
1. Personal Finance Tracker
Write a program that allows users to:
- Add income and expenses
- Show current balance
- View transaction history
2. Student Grade Calculator
Create a program that:
- Asks for a student’s name and 5 subject marks
- Calculates the average
- Displays a grade based on the average:
A (90–100)
B (80–89)
C (70–79)
D (60–69)
F (below 60)
3. Simple To-Do List Manager
Build a command-line to-do list application that:
- Adds tasks
- Views tasks
- Deletes tasks
- Marks tasks as completed
Use lists, loops, and conditionals.
4. Number Guessing Game
Write a game where:
- The computer selects a random number (1–100)
- The user keeps guessing
- The program gives feedback: “Too high” or “Too low” until correct
Use the random module and loops.
5. Word Counter
Ask the user to input a sentence or paragraph.
Your program should:
- Count total words
- Count how many times each word appears
- Display the most frequent word
Use string functions and dictionaries.
Submission Format
- Submit your Python code file (.py) by Sunday
- Be ready to present in class