Dodatkowa linia na wyjściu podczas drukowania w pętli

Nie mogę zrozumieć, dlaczego kod # 1 zwraca dodatkową pustą linię, podczas gdy kod # 2 nie. Czy ktoś mógłby to wyjaśnić? Różnica to dodatkowy przecinek na końcu kodu # 2.

<code># Code #1
file = open('tasks.txt')

for i, text in enumerate(filer, start=1):
    if i >= 2 and i <= 4:
        print "(%d) %s" % (i, text)

# Code #2
file = open('tasks.txt')

for i, text in enumerate(filer, start=1):
    if i >= 2 and i <= 4:
        print "(%d) %s" % (i, text),
</code>

Oto treść mojego pliku tasks.txt:

<code>line 1
line 2
line 3
line 4
line 5
</code>

Wynik z kodu # 1:

<code>(2) line 2

(3) line 3

(4) line 4
</code>

Wynik z kodu # 2 (pożądany wynik):

<code>(2) line 2
(3) line 3
(4) line 4
</code>

questionAnswers(5)

yourAnswerToTheQuestion