adplus-dvertising
frame-decoration

Question

What is the output of the following line of code, if the sys module has already been imported?
sys.stdout.write("hello world")

a.

helloworld

b.

hello world10

c.

hello world11

d.

error

Answer: (c).hello world11

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following line of code, if the sys module has already been imported?