Answers for "select value from dictionary using key"

1

python select item from dictionary

thisdict = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
print(thisdict["brand"])
# outputs: Ford
Posted by: Guest on July-29-2021

Code answers related to "select value from dictionary using key"

Python Answers by Framework

Browse Popular Code Answers by Language