adplus-dvertising
frame-decoration

Question

What is the output when following statement is executed ?
>>>print('new' 'line')

a.

Error

b.

Output equivalent to print ‘new\nline’

c.

newline

d.

new line

Posted under Strings in Python Python

Answer: (c).newline

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output when following statement is executed ?