write to file and not ahve it go to new line python code example Example: new line python write to file hs.write(name + "\n")