4 lines
140 B
Python
4 lines
140 B
Python
filename = 'programming.txt'
|
|
with open(filename, 'a')as file_object:
|
|
file_object.write("hello world\n")
|
|
file_object.write("hello\n") |