## π (Pi)

Pi is an important number in mathematics and engineering.
It is an irrational number, meaning that it cannot be expressed exactly
as a ratio of two integers.

You can find many Python programs on the web that calculate Pi to N places.
Click
HERE
to go to one of them.

## Project #1

Calculate Pi to N places and display it.
Display Pi to 6, 10, 20, 50, 100 places.

Hint:

- find a Python program on the web you like
- copy it to your computer
- modify the program (if necessary)
- run the program
- ask the user how many digits they want to calculate
- calculate Pi and display the results
- loop

## e

e (Euler's number) is also an important number in mathematics and engineering.
It is an irrational number, meaning that it cannot be expressed exactly
as a ratio of two integers.

You can find many Python programs on the web that calculate e to N places.
Click
HERE
to go to one of them.

## Project #2

Calculate e to N places and display it.
Display e to 6, 10, 20, 50, 100 places.

Hint:

- find a Python program on the web you like
- copy it to your computer
- modify the program (if necessary)
- run the program
- ask the user how many digits they want to calculate
- calculate e and display the results
- loop

## Links

Pi (Wikipedia)

e (mathematical constant) (Wikipedia)