18
What is the output of the following code?
import io
f = io.StringIO('a\nb\nc\n')
print(len(f.readlines()))Easy
What is the output of the following code?
import io
f = io.StringIO('a\nb\nc\n')
print(len(f.readlines()))Log in to join the discussion.