file = open("file.txt") lines = file.readlines() print("number of lines: " + str(len(lines))) for i in lines: print(i)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment