Paulo S. G. Ferraz

Results 25 comments of Paulo S. G. Ferraz

Are there someone working on this fix?

> I'd like do it. Is there anyone working on it? I have started to work on this issue.

> We have a lot of `is_prime` (or similar) functions: https://github.com/TheAlgorithms/Python/search?p=4&q=is_prime, https://github.com/TheAlgorithms/Python/search?q=isPrime, [data_structures/hashing/number_theory/prime_numbers](https://github.com/TheAlgorithms/Python/blob/master/data_structures/hashing/number_theory/prime_numbers.py), etc. Shall we use one common function for that exactly identical `is_prime` calculation (which takes `O(sqrt(n))`)? >...

@poyea, I have other question: some problems in projecteuler folder seens to be resolved already. Some require a function like `is_prime()`, to determine if it's prime or not and this...

> > > We have a lot of `is_prime` (or similar) functions: https://github.com/TheAlgorithms/Python/search?p=4&q=is_prime, https://github.com/TheAlgorithms/Python/search?q=isPrime, [data_structures/hashing/number_theory/prime_numbers](https://github.com/TheAlgorithms/Python/blob/master/data_structures/hashing/number_theory/prime_numbers.py), etc. Shall we use one common function for that exactly identical `is_prime` calculation (which takes...

> > > > > @poyea, > > I have other question: some problems in projecteuler folder seens to be resolved already. Some require a function like `is_prime()`, to determine...

> > > > We have a lot of `is_prime` (or similar) functions: https://github.com/TheAlgorithms/Python/search?p=4&q=is_prime, https://github.com/TheAlgorithms/Python/search?q=isPrime, [data_structures/hashing/number_theory/prime_numbers](https://github.com/TheAlgorithms/Python/blob/master/data_structures/hashing/number_theory/prime_numbers.py), etc. Shall we use one common function for that exactly identical `is_prime` calculation (which...

> > > > > > > > > > @poyea, > > > I have other question: some problems in projecteuler folder seens to be resolved already. Some require...

@poyea, I'm trying to fix the last PR, but a pre-commit hook 'Validate filenames' is preventing me due to hyphens found on filenames, like these `venv/lib/python3.8/site-packages/*`, even defining the variable...

@rileyawheeler here isn't the right place to address this, but I'll open a brief comment here. Python is one of the more user-friendly languages. C \ C++ is difficult. To...