Get better at code by writing it, not just reading about it.
Write real Python, HTML and Excel VBA in short exercises that run and get checked instantly — the first 3 in every module are free.
# Find invoices that don't match the bank
problems = sorted(i for i in ledger
if i not in bank)
- ✗ problems should be ['INV-102', 'INV-103']
- ✗ It should catch a wrong amount in any data
- ✓ It should still catch invoices missing from the bank