Codingbat Over HTTP
For each of the paths bases below, implement the corresponding codingbat challenge as a view. I've provided a repository for you to create your project/app in. Arguments should be collected from the path and the response should contain the answer to the challenge. Additionally, you should implement three of the test cases that coding bat provides as test cases in your django app.
-
warmup-1/near-hundred/...implemented with 3 test cases. -
warmup-2/string-splosion/...implemented with 3 test cases. -
string-2/cat-dog/...implemented with 3 test cases. -
logic-2/lone-sum/...implemented with 3 test cases.
You will be asked to create a django project (and app) with a few small coding challenge style views that accept string or numeric information from the path. You will also be required to write test cases for these views.