Skip to content

refilwe-m/Pythons-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PYTHONS-101: Python Learning Exercises

Python Logo Contributions Welcome

A collection of Python exercises and challenges for beginners to advanced learners, with solutions and alternative approaches.

πŸ“‚ Repository Structure

PYTHONS-101/
β”‚
β”œβ”€β”€ basics/
β”‚ β”œβ”€β”€ challenges/
β”‚ β”‚ └── beginner-exercises/
β”‚ β”‚ └── 1. Guessing Game/
β”‚ β”‚ β”œβ”€β”€ guessing_game.py
β”‚ β”‚ └── README.md
β”‚ β”‚
β”‚ └── solutions/
β”‚ └── beginner-exercises/
β”‚ └── 1. Guessing Game/
β”‚ β”œβ”€β”€ alternative-solutions/
β”‚ β”œβ”€β”€ README.md
β”‚ └── guessing_game.py
β”‚
└── README.md

🎯 Exercises

Beginner Projects

  1. Guessing Game - Try to guess a randomly generated number within a specified range

(More exercises coming soon!)

🀝 How to Contribute

We welcome all contributions! Here's how you can help:

Adding Solutions

  1. Fork the repository
  2. Create a branch named challenge-name+username (e.g., guessing-game+johndoe)
  3. Add your solution:
    • For alternative solutions, add them in the alternative-solutions folder with filename format: exercise_name_username.py (e.g., guessing_game_refilwe-m.py)
    • For new challenges, create appropriate folders following the existing structure
  4. Open a Pull Request

Solution Guidelines

  • βœ… Optimize your code for efficiency
  • βœ… Add clear comments explaining your approach
  • βœ… Include docstrings for functions
  • βœ… Follow PEP 8 style guidelines
  • ❌ Avoid AI-generated solutions (this is a learning resource)
  • ❌ Don't modify existing solutions without discussion

πŸš€ How to Participate

  1. Clone the repository:

    git clone https://github.com/your-username/PYTHONS-101.git
  2. Work on challenges in the basics/challenges/ folder

  3. Check the solutions/ folder if you get stuck

  4. Compare different approaches to learn various techniques

πŸ† Why Contribute?

  • Improve your Python skills through practical exercises
  • Learn from others' solutions and approaches
  • Help build a valuable learning resource for the community
  • Get feedback on your coding style and techniques

πŸ“œ License This project is open source and available under the MIT License.

πŸ™ Acknowledgments Special thanks to all contributors who help make this a valuable learning resource!

About

Python 101: Learn Python & Problem Solving With Communities

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages