coefficients = {} coefficients_keys = [] for k in range(0, len(compound_middle)): coefficients_keys.append(compound_middle[k][0]) coefficients = {}.fromkeys(coefficients_keys, {})#这里默认给每个键创建为{}空字典 for i in range(0, len(compound_middle)): j = 0 while j < len…

2017年5月31日 0条评论 1点热度 阅读全文