The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
Question #63
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)
In a dictionary, pairs are separated with?
— The Python Quiz (@thepythonquiz) August 31, 2020
Comas
Colons
Dots
Semicolons#python #python3 #pythonprogramming #learnpython
Question difficulty: π΅π΅π΅π΅π΅