--problem1--
- Check for prime numbers.
- Generate factors of composite numbers.
- Generate prime numbers in a given range.
--problem2--
- Add & store person.
- Calculate average age.
- Find oldest & youngest person.
--problem3--
-
Add & store car brand, price & year.
-
Calculate average cost.
-
Find oldest & expensive car.
-
Clean CLI for all.
Steps to run:
- Navigate to the repo directory in terminal.
- Execute
python prime.py
Alterntively,import prime
file in your program and call the functions directly.