100 Python coding exercises and activities ranging from basics to advanced level.
The complete set of 100 Python exercises is available in this Google Colab notebook:
π Open Python Exercises in Google Colab
This repository includes:
- 100 interactive Python coding problems
- Problems organized by difficulty level
- Runnable code cells with immediate execution
- Output examples for each exercise
- Quick reference file with basic exercise examples
- Sample solutions for the first few problems
- Project documentation and navigation
-
Basic Coding Questions (1-30): Introduction to Python fundamentals
- Hello World
- Simple arithmetic operations
- Basic string manipulation
- Conditional statements
- Loops
-
Intermediate Problems: Building on fundamentals
- List and dictionary operations
- Functions and recursion
- File handling
- Error handling
-
Advanced Challenges: Complex problem-solving
- Advanced data structures
- Algorithm implementation
- Object-oriented programming concepts
- Click the Colab link above to open the notebook
- Sign in with your Google account
- Run the code cells by pressing
Ctrl+Enter(orCmd+Enteron Mac) - Modify the code and experiment with different solutions
- Your progress is automatically saved to your Google Drive
- Basic understanding of Python syntax
- Google account (for Google Colab)
- Web browser
- Solve each problem step by step
- Don't peek at the solutions immediately
- Try different approaches
- Test edge cases
- Modify exercises to make them more challenging
- This is an interactive learning resource
- All exercises can be modified and executed in Colab
- No installation required - everything runs in the browser
- Your changes in Colab don't affect this repository
Feel free to fork this repository and create your own versions of these exercises!
Happy Coding! π