HollingBerries Solution in Clojure
A solution in Clojure.
You'll need Leiningen, a build tool for Clojure.
Leiningen will fetch project dependencies described in the project.clj file.
Allows you to run the program, which will generate the pricefile.txt.
Or start a repl (is it called a prompt in Python?)
To run the test:
UPDATE: I wasn't quite happy with first version and have done a second, which is now available in the namespace 'berry.second - it's slightly shorter and data is nicely separated from the program.
Distributed under the Eclipse Public License, the same as Clojure.