SIGN IN SIGN UP

[mypy] math/sieve_of_eratosthenes: Add type hints (#2627)

* add type hints to math/sieve
* add doctest
* math/sieve: remove manual doctest
* add check for negative
* Update maths/sieve_of_eratosthenes.py
* Update sieve_of_eratosthenes.py

Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
J
Joyce committed
03e7f3732996f1a83ebdca71a2efc2665ed49f38
Parent: f2c1f98
Committed by GitHub <noreply@github.com> on 11/23/2020, 5:37:42 AM