Next prime

Created by Julien Palard

Provide a script that computes, then prints the first prime number greater than 100_000_000.

Advice

You may use itertools.count(), and you may need sys.exit().

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