Determine prime numbers within a specific range in python