Q.

What will be the output of the following Python code? >>>print('new' 'line')

A. error
B. output equivalent to print ‘new\\nline’
C. newline
D. new line
Answer» C. newline
Explanation: string literal separated by whitespace are allowed. they are concatenated.
3.4k
0
Do you find this helpful?
42

Discussion

No comments yet