TLDR: Print items line by line Use this method to write items of a Python list one by one to a text file. Python 3 cities = ['Atlanta', 'Boston', 'Chicago', 'Los Angeles', 'New York', 'San Francisco', 'Seattle'] FILE_PATH = './cities.txt' with open(FILE_