It's dangerous to go alone Q


#1

Could someone help me understand the line 17 code? I don't understand why inventory['gold'] = inventory['gold'] + 50 is correct and why inventory['gold'] + 50 isn't. Is it because we want our inventory['gold'] to now hold 550? If so, I don't think the instruction was super clear on that.

Thanks you very much :smile:


#2

You must use += instead of just +.