<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_lines(fname):
 """Return generator with line number and line for file `fname`."""

    for line in fileinput.input(fname):
        yield fileinput.filelineno(), line.strip()