Quick actions

cmd+k|ctrl+k

Navigation

Languages

41-2

Snippet info

Language

Python

Visibility

public

Author

python100

Created

2025-08-09T18:18:38.049057Z

Updated

2025-08-09T18:18:38.049057Z

myDictionary = {"name" : "David the Mildy Terrifying", "health": 186, "strength": 4, "equipped":"l33t haxx0r p0werz"}
for name,value in myDictionary.items():
  print(f"{name}:{value}")
  if (name == "strength"):
    if value > 100:
      print("Whoa, SO STRONG")
    else:
      print("Looks like you skipped leg day, arm day, chest day and, well, gym day entirely bro!")
      
      
INFO