Open richelbilderbeek opened 1 year ago
This Pythonpool post shows multiple ways to determine if a number is prime.
Use only the code that uses standard Python, i.e. ignore code that uses packages. In that way, everyone can run that code :-)
Start from that code and refactor it, so that functions have proper names and the tests make sense.
This Pythonpool post shows multiple ways to determine if a number is prime.
Use only the code that uses standard Python, i.e. ignore code that uses packages. In that way, everyone can run that code :-)
Start from that code and refactor it, so that functions have proper names and the tests make sense.