Skip to main content
PyPython LabJioCoder

Python Lab: practice Python on real production tickets

Practice Python on 40 real-world tickets, Intern to Staff. Decorators, dataclasses, asyncio, CSV and SQL safety, with real Python in your browser. Free.

L1 · Intern

  1. PY-101: Invoice total crashes on "₹1,299.50"
  2. PY-102: Every new cart already has someone else's items
  3. PY-103: Product rating shows 4 instead of 4.3
  4. PY-104: Order summary crashes when there is no coupon
  5. PY-105: OTP SMS fails for "+91 98765-43210"
  6. PY-106: "Top rated" also reorders the search results
  7. PY-107: Sold-out products show "Stock unknown"
  8. PY-108: Placing one box fills the whole warehouse column

L2 · Junior

  1. PY-201: Daily sales report breaks on "Mumbai, MH"
  2. PY-202: A typo in the config takes the site down silently
  3. PY-203: Declined cards are retried and charged twice
  4. PY-204: Delivery date promises a Sunday
  5. PY-205: Failed imports leave half the products saved
  6. PY-206: Catalog sync downloads 200 pages to show 20 products
  7. PY-207: Cart accepts a quantity of -3
  8. PY-208: Trending searches show "Goggles" and "goggles " twice

L3 · SDE-1

  1. PY-301: The retry decorator hides which function failed
  2. PY-302: Exchange rates are cached forever
  3. PY-303: Two orders reserved the last pair of goggles
  4. PY-304: Category revenue report shows each category five times
  5. PY-305: Filter links with "&" in the search term break
  6. PY-306: Two promos stack and give the order away for free
  7. PY-307: Price comparison waits 30 seconds for one slow seller
  8. PY-308: Product search is open to SQL injection

L4 · Senior

  1. PY-401: Customer dedupe takes 40 minutes
  2. PY-402: Log report reads the 8 GB access log twice
  3. PY-403: Bundle pricing hangs on a bundle that contains itself
  4. PY-404: One customer brute-forces 10,000 coupon codes
  5. PY-405: Shipping fee lookup is slow and wrong at 500 g
  6. PY-406: Order workers stop after the first failed order
  7. PY-407: GST invoices are off by a paisa
  8. PY-408: Replaying cart events gives a different cart every time

L5 · Staff

  1. PY-501: Nightly jobs run before the data they need
  2. PY-502: A dead SMS provider slows every checkout by 10 seconds
  3. PY-503: Failed checkout keeps the stock reserved and the card charged
  4. PY-504: The API accepts orders with qty "lots"
  5. PY-505: Marketing promo rules run through eval()
  6. PY-506: Cache expiry sends 500 identical requests to the database
  7. PY-507: Flash sale oversells: 100 units, 130 orders
  8. PY-508: Catalog sync can't tell what changed
PYmain.py
Loading editor…
Build (Python 3.14)Python 3.14 · Pyodide
Checks