You are not logged in.

#1 2017-12-08 04:56:12

hamidoon123
Moderator
Registered: 2017-09-21
Posts: 50,766

What is the output when following code is executed? >>>print r"\...

Software Engineering Exams Quizzes MCQs Quizzes Python Online MCQs Test

Question:
What is the output when following code is executed?
>>>print r"\nhello"
The output is?

Option A):
The letter r and then hello
Option B):
Error
Option C):
\nhello
Option D):
A new line and hello

Correct Answer is Option C):
\nhello

2017-12-08 04:56:12

Advertisement
Ads By Google

Re: What is the output when following code is executed? >>>print r"\...



\n

Board footer