0
Can anybody explain me what print() does under for loop (last second line)
#QUESTION IS WRITE A PROGRAM TO READ A TEXT LINE BY LINE AND DISPLAY EACH WORD SEPARATED BY A "#" myfile = open("Answer.txt", "r") line = "" while line: line = myfile.readline() for word in line.split(): print (word, end = '#') print() myfile.close()
1 Resposta