• 2022-05-28
    The problem of "fruits" also can be solved in the way below:d = {} for item in fruits: d[item] = d.___________(item, 0) + 1