You are not logged in.

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

shakeel123
User RankUser RankUser RankUser RankUser RankUser Rank
Moderator
Registered: 2017-09-21
Posts: 50,796

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


Top Exams Quizzes MCQs And Interview Questions With Answers Forum:
https://www.globalguideline.com/forum/

2017-12-08 04:56:09

Advertisement
Ads By Google

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



\n

Board footer