write a comment `# data for class a\n` to a file object `f`,f.write('# Data for Class A\n')