add structs using dictionary syntax my_struct = {"health": 100, "armor": 50, "shields": 70} my_struct["armor"] = 20 shields = my_struct["shields"] - 10
add structs using dictionary syntax
my_struct = {"health": 100, "armor": 50, "shields": 70}
my_struct["armor"] = 20
shields = my_struct["shields"] - 10