Welcome to the Hacktoberfest 2024 Python Problem Solving repository! This is your chance to dive into open-source, contribute to a growing library of basic Python problems, and hone your programming skills.
Whether you're a seasoned Pythonista or just getting started, this repository is the perfect place to contribute and collaborate during Hacktoberfest 2024.
This repository is dedicated to gathering basic Python problems and solutions. We aim to create a comprehensive collection of exercises that beginners and intermediate developers can use for practice. It covers everything from simple loops to more complex algorithmic challenges, helping developers sharpen their problem-solving skills.
- Learn: Expand your Python knowledge and improve your coding skills.
- Collaborate: Work alongside other open-source enthusiasts and programmers.
- Celebrate: Be part of Hacktoberfest 2024, earn cool swag, and gain experience contributing to real projects.
We are looking for basic to intermediate level Python problems, including but not limited to:
- Basic Syntax: Loops, conditionals, functions, etc.
- Data Structures: Lists, dictionaries, sets, tuples, etc.
- String Manipulation: Common string operations, reversing, palindrome checks, etc.
- Recursion: Factorials, Fibonacci sequences, etc.
- Sorting and Searching: Implementations of common algorithms.
- Mathematical Problems: Prime numbers, GCD, LCM, etc.
- Miscellaneous: Other interesting Python challenges that help developers learn and grow.
Feel free to contribute problems in any of the above categories or propose your own.
We welcome contributions from everyone! Whether you're adding a new problem, optimizing existing solutions, or improving the documentation, your contributions are valuable.
- Fork this Repository: Click the
Fork
button at the top-right of this page to create a copy of the repository in your GitHub account. - Clone Your Fork: Clone your forked repository to your local machine using:
git clone https://github.com/jayadevvasudevan/basic-python/<your-username>/ cd BASIC-PYTHON
- Create a New Branch: Make a new branch for your contribution:
git checkout -b <your-branch-name>
- Add Your Contribution: Add your Python problem and its solution to the relevant category. Follow the Contribution Guidelines for structure and formatting.
- Commit and Push: Commit your changes and push the branch to your fork:
git add . git commit -m "Added <problem-description>" git push origin <your-branch-name>
- Open a Pull Request: Head over to the original repository and open a pull request to merge your changes.
- Ensure that the problem title is clear and concise.
- Each problem should be accompanied by a solution with clear comments explaining the code.
- Properly format your code using Python best practices (e.g., PEP8 standards).
- Include example input/output wherever possible.
This repository is part of Hacktoberfest 2024, a month-long celebration of open-source software. You can participate by submitting at least 4 pull requests between October 1st and October 31st to qualify for a limited edition Hacktoberfest t-shirt and other swag.
To participate:
- Register at Hacktoberfest and make sure to sign up before contributing.
- Contribute by submitting pull requests to open-source projects (including this one!).
- Enjoy the process and the rewards!
- Clone the repository:
git clone https://github.com/jayadevvasudevan/basic-python
- Navigate into the project directory:
cd BASIC-PYTHON
- Run the Python scripts:
python3 <filename>.py
- Python: Ensure that Python 3.x is installed on your system. You can download it from python.org.
- Basic Knowledge of Python: This project assumes basic familiarity with Python programming.
Happy coding and have fun contributing! 🎉🐍