(continued from previous page columns line split(','split line on columns[ columns[ strip('"'remove for metal columns[ float(columns[ ]radius columns[ float(columns[ ]price columns[ int(columns[ ]quantity columns[ columns[ strip('"'date total_price +columns[ columns[ print("total price ="total_pricefollowing is the output of above listingpython price py total price importantnote that'next(rows)is used in listing which return the next row of the reader' iterable object as list sincethe first row is extracted and save in the headertherefore it will not be available inside the for loop problem with current method create file 'price csvwith following contents note that the contents of this file and the 'price csvare the same expect for the datewhich is different format date,metal,radius,price,quantity "jun ","gold", , , "jul ","silver", , , "jan ","iron", , , "mar ","gold", , , "sep ","copper", , , "jan ","iron", , , now read the file 'price csvin 'price pyas below 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 \ columns line split(','split line on columns[ columns[ strip('"'date columns[ columns[ strip('"'remove for metal columns[ float(columns[ ]radius columns[ float(columns[ ]price columns[ int(columns[ ]quantity total_price +columns[ columns[ print("total price % total_pricenext execute the code and following error will be generated problem with current method