def main(): # Open file for appending data outfile = open("Info.txt", "a") outfile.write("\nPython is interpreted\n") outfile.close() # Close the input file main() # Call the main function