{"cells": [{"cell_type": "markdown", "metadata": {}, "source": ["# Exercise 2.2: The sieve of Eratosthenes\n", "\n", "
\n", "\n", "The [sieve of Eratosthenes](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes) is a method for computing prime numbers. Read about it on Wikipedia. Based on the pseudocode, write a Python code to make a list of all primes less than 10,000. How many are there? (When you answer this question, you'll see the curious result that the number of primes less than 10,000 is also prime!)"]}, {"cell_type": "markdown", "metadata": {}, "source": ["
"]}], "metadata": {"kernelspec": {"display_name": "Python 3", "language": "python", "name": "python3"}, "language_info": {"codemirror_mode": {"name": "ipython", "version": 3}, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.7"}}, "nbformat": 4, "nbformat_minor": 4}