This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Sieve of Eratosthenes | |
| # Made by mlodyvifon 3.10.2020 | |
| # Ask for range of primes | |
| print("P = set of all prime numbers") | |
| print("A = P ∩ (1, x)") | |
| a = int(input('x = ')) | |
| # Create an empty list | |
| numbers = [] |