Question #63

In a dictionary, pairs are separated with?

You can define a dictionary by enclosing a comma-separated list of key-value pairs in curly braces ({}). A colon (:) separates each key from its associated value:

d = {
    "key1": 1,
    "key2": 2,
}

(realpython.com/python-dicts)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵