Curve Fitting using Python
Objective: # To read the data file as a input provided def read_file():temperature = []cp = []for line in open(\'data\',\'r\'):values = line.split(\',\') # Data is splint using read the file temperature.append(float(values[0])) # temperature is assigned with appending with read the data in float valuescp.append(float(values[1]))…