You can iterate through each key in the dictionary and set its value to an empty string using the for
loop.
main.py108 chars5 lines
Alternatively, you can use a dictionary comprehension to set all the values to an empty string.
main.py39 chars2 lines
gistlibby LogSnag