You are not logged in.

#1 2017-12-08 04:51:40

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

What is the output when following statement is executed? >>>prin...

Software Engineering Exams Quizzes MCQs Quizzes Python Online MCQs Test

Question:
What is the output when following statement is executed?
>>>print 'new' 'line'

Option A):
Error
Option B):
Newline
Option C):
Output equivalent to print ‘new\nline’
Option D):
New line

Correct Answer is Option B):
Newline

2017-12-08 04:51:40

Advertisement
Ads By Google

Re: What is the output when following statement is executed? >>>prin...



\n

Board footer