Quiz Catalog

Catalog of quizzes

car = {
  "brand": "Ford",
  "model": "Mustang",
}

x = car.items()

print(x)
dict_items([('brand', 'Ford'), ('model', 'Mustang')])
  • dict/operation/items

car = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}

x = car.items()

car["year"] = 2018

print(x)
dict_items([('brand', 'Ford'), ('model', 'Mustang'), ('year', 2018)])
  • dict/operation/items