How zobiamatloob/python works
This repository is a collection of standalone Python learning examples, with a grocery billing script as its most complete user-facing workflow. A shopper enters three items and quantities; the script looks up prices, calculates a subtotal and discount, and prints a receipt. Other scripts demonstrate core Python concepts rather than forming a shared application. The billing stages are represented separately but all live in one file. The broader lesson map is based on filenames; only the billing and selected lesson examples were sampled.
Main entry points: Grocery Billing System.py Item costs
Components 17
Grocery billing
- Item entry
Grocery Billing System.py - Price menu
Grocery Billing System.py - Price lookup
Grocery Billing System.py - Item costs
Grocery Billing System.py - Cart records
Grocery Billing System.py - Discount total
Grocery Billing System.py - Receipt output
Grocery Billing System.py
Python lessons
- Values and types
Data types.py - Operators
operator.py - Conditionals
Conditionals Part 2 .py - Loops
For loop.py - Functions and arguments
Functions.py - Collections
dictionary.py - Input and output
input and output in python.py - File handling
file handling.py - Classes and objects
classes and objects.py
Other components
- Shopper
Connections 8
- Shopper → Item entry: enters items
- Item entry → Price lookup: provides names
- Price menu → Price lookup: supplies prices
- Price lookup → Item costs: returns prices
- Item costs → Cart records: records purchases
- Item costs → Discount total: provides subtotal
- Cart records → Receipt output: prints details
- Discount total → Receipt output: prints totals