Kata Potter

This is my solution for Kata Potter problem.

Description

According to problem description, I named a series of books into number, 0 to 4. You can enter your shopping list, for example, 00112234, means you got 2 of book '0', 2 of book '1', etc.

Usage

Under root folder:

go run main.go

Enter your shopping list, then you will got the cost.