What Will Be The Output Of The Following Python Codep Pre #1030
What will be the output of the following Python code?</p> <pre><code class="language-python" line="1"> import sys sys.stdout.write(' Hello\n') sys.stdout.write('Python\n') </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Files - Python Files - Quiz No.3.
What will be the output of the following Python code?
import sys sys.stdout.write(' Hello\n') sys.stdout.write('Python\n')
Compilation Error
Runtime Error
Hello Python
Hello Python