MCQs > IT & Programming > Python > Given the two dictionaries 'x' and 'y', which of these codes would not create a final, merged dictionary 'z'? x = {'a':1, 'b': 2} y = {'b':10, 'c': 11} z = {'a': 1, 'c': 11, 'b': 10}

Python MCQs

Given the two dictionaries 'x' and 'y', which of these codes would not create a final, merged dictionary 'z'? x = {'a':1, 'b': 2} y = {'b':10, 'c': 11} z = {'a': 1, 'c': 11, 'b': 10}

 

Answer

Correct Answer: z = x.update(y)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Python MCQ Questions

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it