This repository is all focused in python language but some C functions are checked for implementation in python programming
Projects are labeled using hexadecimal enumeration for getting into computer numeration systems, every exercise could be used in further projects so it's recomended to follow the projects in order
All the code is available but challenges are present in the README of every project, please try to solve before looking for the code
Pycodestyle
is now the new standard of Python style code, but we will use PEP8
, version 1.7.*
Don’t worry, pycodestyle
is based on pep8
. The hardest part now is to install it for Python 3:
- install pip3
$ sudo apt-get install python3-pip
- install pep8
$ sudo pip3 install pep8
- Make sure you get pep8
$ pep8 --version
- If not try installing pycodestyle
$ sudo apt-get install pycodestyle
- Projects were checked with gcc 4.8.4 using -Werror -Wall -Wextra -pedantic even if it´s not necessary using the flags test your code is correctly written and there are no potencial mistakes
- Betty code style is the standard code style, you can get the betty checker here and documentation about using it in different text editors
- All your files must end with a new line
- Projects are checked with
python3
- All your files must end with a new line
- The first line of all your files should be exactly
#!/usr/bin/python3
- Code style is checked using
pep8 1.7
- while working in your own repo remember to write a README.md, more information about writting README's is here
- Using global variables is not allowed
All exercises were designed by holberton School