This sort of 'in' works for lists too, but for dicts it's much faster. Key point: dicts (hash tables) are fast. Even if the dict has 1 million key/value pairs ...
確定! 回上一頁