137,694 views
40 votes
40 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

User Maqjav
by
2.9k points

1 Answer

22 votes
22 votes

Answer:

d={'answer': 42}

Step-by-step explanation:

User Lauren Yim
by
3.2k points