/beginner-friendly-programming-exercises

These exercises are focused on absolute beginners. The purpose of these exercises is to help you develop algorithmic problem solving skills from early stage.

Primary LanguagePython

Programming exercises for beginners

These exercises are focused on absolute beginners. The purpose of these exercises is to help you develop algorithmic problem solving skills from an early stage in your programming journey.

How to do the exercises

  • Click here to find the exercises
  • Attempt the challenges in Python
  • If you get stuck it's ok to see the solution, but it is highly recommended to attept the problems yourself first.
  • Try to not use the programming language MAGIC
  • After you done with the exercise try to attempt it another language you are learning, or if possible make a general purpose code for that problem. Ex) ratrher than explicitly adding 5 + 3 for the specific problem: the general solution can be: return a + b, where a and b satisfy the addition problem but for ALL numbers.

Contribute

If you want to contribute an exercise, make sure to use the fix_exercise_number.py script to fix the order of exercises

Solutions are coming soon!

To submit a solution

Copy your solution to your forked repo

For details on how to do this, please see: Adding a file to a repository (web) or Adding a file to a repository (command line)

Create a pull request

Once your solution has been placed into your forked repo you should initiate a pull request into the main py-study-group/beginner-friendly-programming-exercises so that your solution(s) or corrections can be merged.

To create a pull request, please see: Creating a pull request from a fork

Once your pull request has been submitted, an admin of the py-study-group will review and merge it into the py-study-group/beginner-friendly-programming-exercises where it will be appear alongside all of the other submitted solutions.

I specially want to thank @cripcate for writing this awesome contribution guide