This interactive Python program generates prime numbers based on user input. It features a typewriter effect, a progress bar, prints 5 prime numbers per line, and saves the output to a CSV file, making it perfect for Data Science practice and portfolio showcase.
- User-specified number of prime numbers
- Dynamic progress bar while calculating
- Typewriter animation effect for console output
- Prints 5 primes per line for readability
- Saves prime numbers to
primes.csvfor further analysis - Beginner-friendly and interactive
- Clone the repository:
git clone https://github.com/g3raldatsc/prime-generator-python.git- Navigate to the project folder:
cd prime-generator-python- Make sure Python 3 is installed, then run:
python main.py
-
Enter the number of prime numbers to generate.
-
Choose typing speed: fast or slow.
-
Watch the program calculate and display prime numbers with animation.
-
The prime numbers are saved automatically in primes.csv.
The first 15 prime numbers are:
2 3 5 7 11
13 17 19 23 29
31 37 41 43 47Prime Numbers
2
3
5
7
11
13
...