def parse(file_name, int_cols): """ Parses the CSV file specified by file_name and returns the data as a list of dictionaries where each row is represented by a dictionary that has keys for each column and value which is the entry for that column at that row. Also takes a list of column names that should have the data for that column converted to integers. All other data will be str. """ data = [] with open(file_name) as f: headers = f.readline().strip().split(',') num_cols = len(headers) for line in f.readlines(): row_data = line.strip().split(',') row = {} for i in range(num_cols): if headers[i] in int_cols: row[headers[i]] = int(row_data[i]) else: row[headers[i]] = row_data[i] data.append(row) return data # Write your solutions here!