NowPrice:CA$6.74
Original Price: CA$8.99
25% off
Sale ends on 31 August
Python Debugging Practice Worksheet | 8 Find-the-Bug Problems + Answer Key PDF
Here's what's eligible:
- Your order doesn't match the item description or photos
- Your item arrived damaged
- Your item arrived after the estimated arrival window
- Your item didn't arrive or was lost in the mail
You can only make an offer when buying a single item.
Highlights
8 debugging problems where the code is already written and something is wrong. You read the error message or spot the wrong output, find the bug, and fix it. The bugs are the ones beginners actually run into, not contrived edge cases.
What's included:
- NameError from a typo in a variable name
- IndexError on an empty list, fixed with an empty-list guard
- Missing return statement (function builds the result correctly but returns None)
- KeyError fixed with dict.get(key, default)
- Accumulator variable reset inside the loop instead of before it
- Off-by-one: range(1, 5) stops before 5, so 5 never prints
- Mutable default argument (lst=[]) shared across all calls
- Logic bug where n % 2 == 1 misidentifies negative even numbers
Each problem shows the error message or wrong output upfront, same as a real debugging scenario. Full fix and explanation included for each one.
Made-to-order download
Files will be available after the seller completes your order. Here's how.
Made-to-order digital items don’t accept returns or exchanges. Please contact the seller about any problems with your order.
Etsy Purchase Protection
Shop confidently on Etsy knowing if something goes wrong with an order, we've got your back for all eligible purchases —
see programme terms
More from this shop
Visit shop-
Digital download
Java Loops Practice Worksheet | 8 Beginner Problems + Answer Key PDF
Sale Price CA$5.99
Original Price CA$7.99
-
Digital download
AP Computer Science A Flashcards | Java Study Cards for AP Exam PDF
Sale Price CA$8.99
Original Price CA$11.99
-
Digital download
Exam Study Planner | 4-Week Countdown Printable | Study Hours + Confidence Tracker PDF
Sale Price CA$3.74
Original Price CA$4.99
-
Digital download
Java Data Structures Cheatsheet PDF | Arrays, Lists, Maps, Trees Reference
Sale Price CA$5.24
Original Price CA$6.99
Be the first to leave a review
-
Digital download
Python Error Mastery PDF: Beginner Debugging Guide with 50 Fixes
Sale Price CA$3.53
Original Price CA$10.06
-
Digital download
Python Homework + Projects – Beginner Problem Solving Practice | with Solutions | Jupyter Coding Exercises
CA$20.15
-
Digital download
Python Programming Exercises: Beginner to Advanced Coding Practice (Instant PDF Download)
Sale Price CA$5.02
Original Price CA$7.18
-
Digital download
Python Programming for Kids: Master the Basics of Coding with Fun, Interactive Exercises + Simple python cheat sheet | python workbook
CA$15.69
-
Digital download
Python Projects for Beginners – 10 Hands-On Coding Exercises – Learn Programming Step-by-Step – Digital Download Bundle
Sale Price CA$5.02
Original Price CA$7.18
-
Digital download
Python Homework + Projects – Beginner Problem Solving Practice | No Solutions | Jupyter Coding Exercises
CA$17.27
-
Digital download
Python Fundamentals Practice Pack Mega Bundle (Beginner + Intermediate + Advanced Sets)
CA$2.86
-
Digital download
Learn Python by Building Real Projects – Beginner-Friendly Coding eBook (PDF, Instant Download)
CA$5.74
-
Digital download
100 Python Mini-Project Ideas – Learning Guide (PDF + 100 Infographics)
Sale Price CA$6.03
Original Price CA$8.62
-
Digital download
Learn Python in 30 Days: Beginner's Ebook (PDF)
Sale Price CA$6.03
Original Price CA$8.62
-
Digital download
Learn Python Coding: 75 Skill Builder Scripts + 3 Projects (PDF Download)
Sale Price CA$5.04
Original Price CA$14.38
-
Digital download
Python Code Examples: Beginner-Friendly List Comprehension, Date & Time, File Handling (PDF Downloadable Guidebook)
Sale Price CA$2.52
Original Price CA$7.18