obelisk0114
46bc6738d7
Add doctest to maths/sieve_of_eratosthenes.py and remove other/finding_primes.py ( #1078 )
...
Both of the two files implemented sieve of eratosthenes.
However, there was a bug in other/finding_primes.py, and the time complexity was larger than the other.
Therefore, remove other/finding_primes.py and add doctest tomaths/sieve_of_eratosthenes.py.
2019-07-26 12:25:38 +02:00
Christian Clauss
93fdc9f2a1
Travis CI: Add pytest --doctest-modules maths ( #1020 )
...
* Travis CI: Add pytest --doctest-modules maths
* Update lucas_series.py
* Update lucas_series.py
2019-07-21 11:46:28 +05:30
PatOnTheBack
897f1d0fb4
Improved Formatting and Style of Math Algos ( #960 )
...
* Improved Formatting and Style
I improved formatting and style to make PyLama happier.
Linters used:
- mccabe
- pep257
- pydocstyle
- pep8
- pycodestyle
- pyflakes
- pylint
- isort
* Create volume.py
This script calculates the volumes of various shapes.
* Delete lucasSeries.py
* Revert "Delete lucasSeries.py"
This reverts commit 64c19f7a6c
.
* Update lucasSeries.py
2019-07-10 22:09:24 +02:00
Alex Brown
ea2ddaaf6a
all valid python 3
2018-10-20 14:45:08 -05:00
Alex Brown
91fccecb56
snake_case all the things
2018-10-19 17:14:25 -05:00