PCEP • Practice Test 34
Free PCEP practice test — 15 questions with explanations. Set 34. No signup required.
A developer writes a function to update a configuration dictionary: def update_config(config, key, value): config[key] = value; return config. They call it as: my_config = {'debug': False}; result = update_config(my_config, 'debug', True). What is the value of my_config after the call, and why?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.