I am running into the following error while writing the value into a file. Can you please help me figure out what is the issue here and how to fix it?
row =
Assuming you just want to write the string '649' to the file, change row to '649' or issue f.write(str(row)).
'649'
row
f.write(str(row))