I would like to get certain values from lists inside a dictionary and create a new variable for those values using for loop in Python.
sales = {'c1': [30.2, "lily"], 'c2': [31.3, "sam"], 'c3': [28.2, 'peter'], 'c4': [28.5, 'chan']}
expected output:
sales_sum = [30.2, 31.3, 28.2, 28.5]