Python - File Reading and Writing Strategies
What will be the output of this Python code?
import sys
sys.stdout.write('Hi')
print('There')import sys
sys.stdout.write('Hi')
print('There')sys.stdout.write('Hi') writes 'Hi' without a newline.print('There') writes 'There' followed by a newline.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions