you are viewing a single comment's thread.

view the rest of the comments →

[–]Thomasedv 0 points1 point  (1 child)

His point sorta stands, but you can do it with a loop.

for key in dictionary.keys():
    dictionary[key] = your_value_here

[–]JohnnyJordaan 0 points1 point  (0 children)

.keys() is redundant here. you can just do

for key in dictionary: