/challenge

Alacrity coding challenge

Primary LanguagePython

Challenge

Alacrity coding challenge!

--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:

  1. Navigate to the repo directory in terminal.
  2. Execute python prime.py Alterntively, import prime file in your program and call the functions directly.