Skip to content

g3raldatsc/prime-generator-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Prime Number Generator in Python

Python Data Science

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.

Features

  • 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.csv for further analysis
  • Beginner-friendly and interactive

Installation

  1. Clone the repository:
git clone https://github.com/g3raldatsc/prime-generator-python.git
  1. Navigate to the project folder:
cd prime-generator-python
  1. Make sure Python 3 is installed, then run:
python main.py

Usage

  1. Enter the number of prime numbers to generate.

  2. Choose typing speed: fast or slow.

  3. Watch the program calculate and display prime numbers with animation.

  4. The prime numbers are saved automatically in primes.csv.

Example Output
The first 15 prime numbers are:
2    3    5    7    11
13    17    19    23    29
31    37    41    43    47
CSV Output
Prime Numbers
2
3
5
7
11
13
...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages