Locally run pipenv install
. If you don't have pip installed
you'll need to run pip install pipenv
first.
Once this is setup run ./test.sh
We want to be able to find out the price of some simple items
Coffee - 5kr Fancy Coffee - 8kr Kanelbulle - 10kr
We get a list of items from the customer. What's the total?
There's now a special offer on the bullar. If a customer buys 3 they only pay 25kr.
Extend the above so we can have multiple shops with different prices
If you only extended the above for prices do the same for deals
A cafe has limited stock. When it's sold out orders can't be placed for that time.
When a cafe has no stock of any kind it closes down.
All the previous requirements dealt in Krona. Now we want to launch in new countries. Each cafe should only work in a single currency.
Part of the focus of this Kata is using the type system with mypy.
When defining your functions and classes start to think about what types they will receive and output. Dataclasses added in 3.7 can also help with this.