how to write a number in a file and go to the next line code example Example: new line python write to file hs.write(name + "\n")