Jan-14-2022, 07:29 PM
you have a call to
because the function
Try adding
prime_eratosthenes(lim)
which has a reference to the return value in primes
because the function
prime_eratosthenes
has no return it defaults to returning None
Try adding
return prime_list
to the end of the function.