Python Assignment


📘 Assignment 1: Student Grade Calculator

Level: Beginner
Task:
Write a Python program that:

  • Takes input of 5 subject marks from the user
  • Calculates total, percentage, and grade
  • Grade rules:
    • 90+ → A
    • 75–89 → B
    • 60–74 → C
    • 40–59 → D
    • Below 40 → Fail

📘 Assignment 2: Simple Billing System

Level: Beginner
Task:
Create a program for a shop that:

  • Stores at least 5 items with prices
  • Asks customer to choose items and quantity
  • Calculates total bill
  • Adds 5% GST
  • Prints final bill in proper format

📘 Assignment 3: ATM Machine Simulation

Level: Intermediate
Task:
Build a menu-driven ATM program:

  • Check Balance
  • Deposit Money
  • Withdraw Money
  • Exit
  • Validate insufficient balance
    Use loops and conditions.

📘 Assignment 4: Library Management System (Mini Project)

Level: Intermediate
Task:
Create a program with following features:

  • Add book
  • Display all books
  • Search book by title
  • Remove book by title
    Use lists or dictionaries, and loops.

📘 Assignment 5: Student Data Handling With File System

Level: Intermediate
Task:
Write a Python program that stores student details in a file:

  • Name, Roll No, Class, Marks
    Features:
  • Add student
  • Show all students
  • Search student by roll number
  • Update a student’s details
  • Delete a student
    Use file handling (open, read, write).

Leave a Comment

Your email address will not be published. Required fields are marked *