adplus-dvertising
frame-decoration

Question

What is the output of the code shown below is:
import sys
sys.stderr.write(“hello”)

a.

‘hello’

b.

‘hello\n’

c.

hello

d.

hello5

Posted under Python

Answer: (d).hello5

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 code shown below is: