1# declare equipment as a dictionary
2player_equip_dict = {
3 "Helmet": "",
4 "Right Hand": "",
5 "Left Hand": "",
6 "Chest": "",
7 "Back": "",
8 "Legs": "",
9 "Feet": "",
10}
11
12# assign an item to equipment
13player_equip_dict.update({"Right Hand": "sword"})
14
15# remove an item from equipment
16player_equip_dict.update({"Right Hand": ""})