# filename = "programming.txt"
# with open(filename, 'w') as file_object:
# file_object.write("I love programming.")
# filename = "programming.txt"
# with open(filename, 'w') as file_object:
# file_object.write("I love programming.")
# file_object.write("I love creating new games.")
# filename = "programming.txt"
# with open(filename, 'w') as file_object:
# file_object.write("I love programming.\n")
# file_object.write("I love creating new games.\n")
# filename = "programming.txt"
# with open(filename, 'a') as file_object:
# file_object.write("I also love finding meaning in large datasets.\n")
# file_object.write("I love creating apps that can run in a browser.\n")
# filename = "guest.txt"
# name = input("Please input your name:")
# with open(filename,"w") as file_object:
# file_object.write(name)
# filename = "guest_book.txt"
# with open(filename, 'a') as file_object:
# while(True):
# name = input("Please input a name:")
# text = "hello, " + name.title() + ",nice to meet you.\n"
# print(text)
# file_object.write(text)
# filename = "reasons.txt"
# with open(filename, 'w') as file_object:
# while(True):
# reason = input("Please input your reason why you love programming:") + "\n"
# file_object.write(reason)