14/14


#1

when adding 50 to gold is this correct?

inventory['gold'].append(50)


#2

No. Append is used to add an object to a list, instead you want to add 50 to the existing number. So you can either do;

inventory['gold'] = inventory['gold'] + 50

or the same but a shorter syntax;

inventory['gold'] += 50