← Previous Next →

Print every prime numbers in a range

Created by Julien Palard

Instructions

Provide a script that print every prime number in the range [10000;10050], on one line, separated by comas and spaces.

The output (in the range [1;10]) should look like this:

$ python3 solution.py
2, 3, 5, 7