6 Comments
User's avatar
⭠ Return to thread
Stephen Gruppetta's avatar

Indeed, that works too. But going through dict.fromkeys() will be faster (I believe).

Expand full comment