McqMate
| 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. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet