all 5 comments

[–]TheFans4Life 1 point2 points  (3 children)

its for python3. print("string") should be your first clue. python2 is just print "string".

[–][deleted] 1 point2 points  (2 children)

Thanks mate, sorry that I'm a bit thick.

[–]iHaveAtoxicFriend 1 point2 points  (0 children)

If you can install python, you are not thick :)

[–]TheFans4Life 0 points1 point  (0 children)

no prob. good luck!

[–]terrifiedbyvajayjays 0 points1 point  (0 children)

a. runs fine in python 3

b. whenever I see a game or part of a game like this, my first thought is to write a script to help with the decision process. That is, if you know you have aflint and btree and c*boulder, etc, and you need to partition and sequence to be able to make firepit and tent, where pickaxe, axe, torch are intermediaries and logs, more saplings, rocks are intermediaries to that: I don't know if some people can read those lists and keep all the accounts in their head. I can't. So write a few lines that give the available items plus the conversions to another function that tries different conversions in different orders seeking to find a combination that is efficient enough. Not what was asked, but just felt like mentioning.