Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arvinsingh/challenge

Alacrity coding challenge
https://github.com/arvinsingh/challenge

challenge python

Last synced: 2 days ago
JSON representation

Alacrity coding challenge

Awesome Lists containing this project

README

        

# 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.