Create a dictionary in Python
Question
:
How do you create a dictionary called 'data' with the key 'id' and value '100'?
data = {id: 100}
data = ['id': 100]
data = {'id': 100}
data = (id: 100)
Answer
:
C - is the correct answer