Answers for "select element from dictionary"

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 element from dictionary"

Python Answers by Framework

Browse Popular Code Answers by Language