Program - Calculate the length of dictionary


Topic: Program - Calculate the length of dictionary

Solution

thisdict = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
print(f"Length of Dictionary:{len(thisdict)}")



List all Python Programs