19
What is the output of the following code?
import io
f = io.StringIO('hello\nworld\n')
print(f.readline().strip(), f.readline().strip())Easy
What is the output of the following code?
import io
f = io.StringIO('hello\nworld\n')
print(f.readline().strip(), f.readline().strip())Log in to join the discussion.