A quick exercise to refresh python3 and git skills.
Follow these instructions to get a working copy on your machine using git.
You should have python3 installed on your machine. If not, you can install it from the official website https://www.python.org/. There are no python dependencies.
To copy this project (=repository) to your local machine, you'll need to use git. If you do not have git installed, you can get it at https://git-scm.com/.
If you would like to clone this repository using the graphical user interface Github Desktop, make sure you've got it installed and configured correctly. Read more on their website: https://desktop.github.com/
Follow the instructions in Github-Desktop.md.
Choose a folder to which you would like to download this repository to, e.g.
Desktop
or Documents
.
Navigate to that folder and open it in a terminal. On MacOs, this can be done by
right-clicking on the folder and going to Services
> New Terminal at Folder
.
In the terminal, run the following command by pasting it in and hitting Enter
:
git clone https://github.com/intelligenerator/collatz.git
You can now move into this folder by executing:
cd collatz
Happy Coding!
Read through the instructions in src/Instructions.md
before implementing your solution in src/collatz.py
.
Once you have implemented and tested your solution, feel free to open a Pull Request (=PR) in this repo.
Hint: If you are stuck, a possible solution is implemented on the "solution" branch. You can view the solution here
To run a predefined test suite, run collatz.test.py
with python3
Please read CONTRIBUTING.md and CODE_OF_CONDUCT.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
Ulysse McConnell - umcconnell
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Check out the great official python 3 tutorial and especially chapter 12 about virtual environments.
- numpy gitignore - Gitignore inspiration
- github python gitignore template - The gitignore template
- Contributor Covenant - Code of Conduct