14. Its Dangerous to go allone! stuck on the 'gold' line


Hey guys, im stuck on this exercise and i dont get the error text right ...

this is my code:

inventory['pocket'] = ['seashell', 'strange berry', 'lint']



inventory['gold'] =+ 50

the error message i receive is:

Make sure to add 50 to the gold total!

what does this mean??

thx in advance


To add 50 Gold to the total

the =+ will need to be swapped around to look like this: +=


ah ok thx :slight_smile:

i found another possibility by myself:


inventory['gold'] = 500 + 50

but i like your solution way more


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.