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 #84
From Python 3.5 onwards, two dictionaries x and y can be merged using the syntax {**x, **y} . The other options above don't exist and will give a SyntaxError error. (stackoverflow.com/questions/38987/how-do-i-merge-two-dict...)
How to merge two dictionaries x and y? (Python 3.5+)
— The Python Quiz (@thepythonquiz) June 16, 2020
{**x and **y}
{**x, **y}
{**x | **y}
{**x + **y}#python #python3 #pythonprogramming #learnpython
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: