with open("haiku.txt", "w") as file:
    file.write("Writing files is great\n")
    file.write("Here is another line\n")
    file.write("Closing now, bye!")




# with "write" if you try to run again, the entire file will be overhelmed
