I have to print a text file (cities) in a While Loop but it goes to infinity
filehandle=open("cities.txt", "r") f = filehandle.readline() while f != "": print(f) filehandle.close()