Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Thank you. Now, it works.
Golang
Getting the error :
can't load package: package codewarrior/main: found packages main (main_suite_test.go) and kata (main_test.go) in /workspace
Cool! I didn't know that I am able do that with older solutions. Before I just created another one brand new in such case.
Thank you!
No, that's mistake. Thank you.
This part of code from older solution. I didn't understood task correctly at first. I thought that price is not constant and you should pay different price for each liter. For example if initial price was 10, and you buy 7 liters it should be:
10 + 10 + 9.95 + 9.95 + 9.90 + 9.90 + 9.85
BTW I think such case will be more interesting as a kata.