(continued from previous page print(linestraceback (most recent call last)file ""line in valueerrori/ operation on closed file strings operations we need to perform string-operations to the data for the further processing the data extracting the lines which contains "goldetc in this sectionwe will see some of the string operations and the perform these operations on the file 'print csvm "hello worldprint(mhello world [ print first character 'hm[ : print first characters 'hem[- print last character 'dm[- :- print nd and rd last (but not the last'rlm[- :print last characters 'rldlets see some more string operations as below please read the comments in the codes commands strip(strip(''replace('''-'split(","description remove end line character remove replace with make list for data with separator ', open('price csv'' 'for line in fprint(linedate,metal,radius,price,quantity "","gold", , , "","silver", , , "","iron", , , "","gold", , , "","copper", , , "","iron", , , line loop store only one value (continues on next page strings operations