Python Bug Fixing & Debugging Projects
This repository showcases practical Python debugging and bug-fixing skills through a series of structured projects.
It is designed to demonstrate the ability to identify, analyze, and correct broken code in real-world scenarios, making it ideal for clients, recruiters, or anyone seeking Python development expertise.
🧰 Skills Demonstrated
- Debugging syntax and logical errors
- Fixing runtime exceptions and errors
- Exception handling with try/except
- Algorithm debugging (loops, recursion, sorting/searching)
- Writing clean, readable, and maintainable Python code
- Problem-solving and analytical thinking
📂 Projects Overview
01. Syntax Errors
Fixes missing colons, parentheses, and indentation issues.
Skills: Python syntax, debugging, attention to detail
02. Logic Errors
Corrects code that runs but produces incorrect outputs.
Skills: Loop and condition debugging, arithmetic corrections, logic analysis
03. Runtime Errors
Handles exceptions that cause programs to crash.
Skills: ZeroDivisionError, KeyError, TypeError, IndexError
04. Exception Handling
Adds robust error handling to make code fail-safe.
Skills: try/except, safe file operations, input validation
05. Algorithm Debugging
Fixes broken algorithms like recursion, factorial, Fibonacci, and sorting logic.
Skills: Loops, recursion, sorting/searching logic, algorithmic thinking
📌 How to Use
- Clone the repository:
git clone https://github.com/anshkunj/Bug-fixing-projects.git - Navigate to any project folder.
- Read
README.mdandPROBLEM.mdfor context. - Run
broken_code.pyto see the issues, thenfixed_code.pyto see the corrected version.
🎯 Purpose of This Repository
- Showcase real debugging and problem-solving skills in Python
- Demonstrate ability to fix broken code in multiple scenarios
- Serve as a portfolio for Fiverr clients or recruiters looking for Python developers
⚡ Recommended Portfolio Usage
- Include screenshots of errors vs fixed outputs for Fiverr portfolio
- Highlight 2–3 strongest projects when promoting to clients:
- Algorithm Debugging
- Runtime Errors
- Exception Handling
- Algorithm Debugging
🛠️ Tech Stack
- Python 3.x
- Standard Python libraries
- No external dependencies (pure Python code)
📄 Licence
MIT Licence
🤝 Contributing
Contributors are welcome!
• Add new problems and algorithms
• Improve explanations
• Optimise exists code
📫 Connect with me
🧠 Competitive Programming & Hackathons
💼 Freelance Profiles
⭐ Support
If you found this project helpful, consider giving it a ⭐
It motivates me to build more real-world, production-ready projects 🚀
📝 Note
This repository is regularly updated with new scripts and improvements.
Built With
- bug-fixing
- code-improvement
- debugging
- problem-solving
- python
- script-optimisation
- troubleshooting


Log in or sign up for Devpost to join the conversation.