Created
May 22, 2023 22:25
-
-
Save rongpenl/a1a7f2782cc44d84cd615b02ad08a253 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
""" | |
hollyandprosper.com | |
YouTube Channel: https://www.youtube.com/@hollyandprosper | |
Link to the original YouTube Short: https://youtu.be/rnAl4Rk5bu8 | |
""" | |
from immutabledict import immutabledict | |
immu_dict_a = immutabledict({ | |
'alpha': 1, | |
'beta': 2 | |
}) | |
immu_dict_a['gamma'] = 3 | |
# an error will be thrown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment