LogiQuest
Back to File Handling
4

What is the output of the following code?

import io
f = io.StringIO('abc')
print(f.read(2), f.read())
Medium

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.