41-1
myDictionary = {"name" : "Ian", "health": 219, "strength": 199, "equipped": "Axe"}
for name,value in myDictionary.items():
print(f"{name}:{value}")
if (name == "strength"):
print("Whoa, SO STRONG!")INFO
myDictionary = {"name" : "Ian", "health": 219, "strength": 199, "equipped": "Axe"}
for name,value in myDictionary.items():
print(f"{name}:{value}")
if (name == "strength"):
print("Whoa, SO STRONG!")