DEV Community

SHAMEEM ALI
SHAMEEM ALI

Posted on

dict comprehension

dict comprehension
new_dict = {new_key: new_value for (key,value) in dict.items()}

Top comments (0)