Print every prime numbers in a range

Created by Julien Palard

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

There's no corrections yet, hit the `Submit` button to send your code to the correction bot.

Keyboard shortcuts:

  • Ctrl-Enter: Send your code to the correction bot.
  • Escape: Get back to the instructions tab.

See solutions