What will be the output of the following Python code?
import sys
sys.stdout.write(' Hello\n')
sys.stdout.write('Python\n')
import sys
sys.stdout.write(' Hello\n')
sys.stdout.write('Python\n')A. Compilation Error
B. Runtime Error
C. Hello Python
D. Hello
Python
Answer: Option D

Join The Discussion