Exercism exercises in Python
Please see the contributing guide
We welcome both improvements to the existing exercises and new exercises. A pool of exercise ideas can be found in the x-common repo.
All exercises must be compatible with Python versions 2.7 and 3.3 upwards. Therefore please test your changes at least with Python2.7 and Python3.5.
To test a single exercise, say crypto-square, run:
python2.7 test/check-exercises.py crypto-square
and
python3.5 test/check-exercises.py crypto-square
To run the tests for all exercises type:
python test/check-exercises.py
The Python code in this repo is meant to largely obey the PEP8 style guide (not all code does though). Try the flake8 tool if you feel unsure about questions of style.
We ❤️ pull requests! We even 💖 them if they contain well written commit messages!
Please write the first line of your commit message in the following style:
exercise-name: Changes some things
If there are more details to add, put those into the body of the commit message.
If you're interested, Tim Pope even has an entire blog post on good commit messages.
If you're new to Git take a look at this short guide.
The MIT License (MIT)
Copyright (c) 2014 Katrina Owen, [email protected]