Introduction
In this project, you will learn how to implement a function to check if a number is prime, and then use that function to calculate the sum of all prime numbers below 100.
ð Preview
>>> prime(1)
False
>>> prime(6)
False
>>> prime(7)
True
>>> prime_total()
1060
ðŊ Tasks
In this project, you will learn:
- How to write a function to check if a number is prime
- How to use that function to calculate the sum of all prime numbers below 100
ð Achievements
After completing this project, you will be able to:
- Understand the concept of prime numbers
- Write a function to check if a number is prime
- Use that function to solve a problem involving prime numbers
- Apply your programming skills to a real-world problem