Repository with two main files: One is a program that prints the numbers from 1 to 100. But for multiples of three print “Three” instead of the number and for the multiples of five print “Five”. For numbers which are multiples of both three and five print “ThreeFive”. Another is a library that supports validating and formatting post codes for UK.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
unittest - https://pypi.python.org/pypi/unittest2
To run the tests of numbers.py do:
python -m unittest test_numbers
To run the tests of postcode.py do:
python -m unittest test_postcode