primeList
- src.ZinckLib.primeList.primeList(maxVal: int)
takes in an integer and uses the sieve of eratosthenes to calculate and return a list of prime numbers less than or equal to the provided number
- Parameters:
maxVal (int) – The maximum value for the prime list
- Returns:
A list of prime numbers less than or equal to a specified value
- Return type:
list of ints