Created
March 9, 2019 16:28
-
-
Save AdamGold/2d5472eca16166e0636763d8fa6a0b4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [18]: dict.fromkeys(["key1", "key2", "key3"], "DEFAULT_VALUE") | |
{'key1': 'DEFAULT_VALUE', 'key2': 'DEFAULT_VALUE', 'key3': 'DEFAULT_VALUE'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment