Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the following Python statement?
>>>print(‘new’ ‘line’)

What will be the output of the following Python statement?
>>>print(‘new’ ‘line’)
a) Error
b) Output equivalent to print ‘new\nline’
c) newline
d) new line

Answer: c
Explanation: String literal separated by whitespace are allowed. They are concatenated.

Join The Discussion