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
πŸ’¬ Discuss
βœ… Correct Answer: (C) newline
Explanation: string literal separated by whitespace are allowed. they are concatenated.

Explanation by: Rakesh Kumar
string literal separated by whitespace are allowed. they are concatenated.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
209
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
85%
Success Rate