?
What is the output of the following code:
What is the output of the following code:
with open('data.txt', 'r') as file:
lines = file.readlines()
print(len(lines))
lines = file.readlines()
print(len(lines))
Join the Discussion
Login to post a comment or share your explanation.
Login