f=open("nimed.txt", "a") f.write("Mati\n") f.close()