fileinput.lineno()
Return the cumulative line number of the line that has just been read. Before the first line has been read, returns 0
. After the last line of the last file has been read, returns the line number of that line.
fileinput.lineno()
Return the cumulative line number of the line that has just been read. Before the first line has been read, returns 0
. After the last line of the last file has been read, returns the line number of that line.
Please login to continue.