with open('info.txt') as f:
for count, line in enumerate(f):
print("Line {}: {}".format(count + 1, line))
'''
run:
Line 1: Python is an interpreted
Line 2: high-level, general-purpose
Line 3: programming language
Line 4: python design philosophy emphasizes code readability
Line 5: with its notable use of significant whitespace
'''