python 使用两个列表合成字典

keys = ['red', 'green', 'blue']  
values = ['#FF0000','#008000', '#0000FF']  
color_dictionary = dict(zip(keys, values))  
print(color_dictionary)
原文地址:https://www.cnblogs.com/sea-stream/p/9981747.html