(continued from previous page'"","iron", , , \nremove the end line character \ line strip('"","iron", , , line strip operation does not save automatically '"","iron", , , \nline line strip(save the split operation line '"","iron", , , line replace('"''-'replace with '--,-iron-, , , create list and split at comma columns line split(','columns ['""''"iron"'' '' '' 'type(columnsacess columns columns[ '""remove from the data for icol in enumerate(columns)columns[icol strip('"'columns ['''iron'' '' '' 'columns[ 'all the items are stringtherefore multiplaction can not be performed total_price columns[ ]*columns[ traceback (most recent call last)file ""line in typeerrorcan' multiply sequence by non-int of type 'strconvert string to 'floatand multiple total_price float(columns[ ])*int(columns[ ]total_price perform calculations in this sectionwe will write python script which will use all the operations of the previous sectionto calculate the total cost of all the items price py total_price for all items in the list with open('price csv'' 'as fopen file in read mode header next(rowsskip line header for line in fline line strip(remove \ (continues on next page perform calculations