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 #901
{True: 5, bool(1): 10}
As bool(1) evaluates to True and as dictionaries don't allow duplicates, Python understands {True: 5, bool(1): 10} as {True: 10} . Its length is 1. (stackoverflow.com/questions/63881237/python-dictionaries-...)
Question difficulty: π΅π΅π΅π΅π΅
Similar questions: