218k views
3 votes
write a statement that assigns the variable d a dictionary that contains one element. the element's key should be the string 'answer' and the element's value should be the integer 42

1 Answer

4 votes

Answer:

d={'answer': 42}

Step-by-step explanation:

User Gustav Bertram
by
8.6k points