When doing this exercise, it asked to add 50 to the total gold value. I tried doing various means with the .append() command but the page always bounced back an error of some kind. After searching here, this was the solution everyone seemed to use:
inventory['gold'] = inventory['gold'] + 50
Why can't you use the append function here?