Write a python program to display the records in a file along with line number.
Answers
Answered by
6
Explanation:
12349439_+';#(#(_!'!$)294&
Attachments:
Answered by
5
Answer:
Fh = open (" result. Det", "r")
Count
Rec=""
While true:
Rec = fh. Readline()
If rec=="" :
Break
Count =count+1
Print(count,rec,end="")
Fh.close()
Similar questions