Inspiration

I'm relatively new to python programming, as I was brainstorming for a project, I came across a YouTube video on algorithm that works only with prime numbers, I thought I'd take my own spin for a code that calculates prime numbers.

What it does

This code calculates the number of prime numbers that exists up to the user's input number.

How I built it

Using only the default python library, I compiled this code using while loops and for loops, but through pattern recognition.

Challenges I ran into

I understood how prime numbers were calculated and determined but I did not know how to demonstrate it in my code.

Accomplishments that I'm proud of

I took a long approach into calculating the number of prime numbers by pattern matching and ended up outputting the right results. Within the timeframe, I am proud that I was able to see the pattern of the output values and was able to produce results through pattern recognition.

What I learned

If one approach to what you're looking for doesn't work, another approach that goes in another direction will eventually work.

What's next for Prime Numbers Calculator

Listing the numbers that are primed.

Built With

Share this project:

Updates