Q. What is the output of the following code?

Code:
print( 'Hello' + ' ' + 'World' )
  • (A) Hello World
  • (B) HelloWorld
  • (C) Hello+World
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) Hello World
Explanation: The `+` operator concatenates strings including spaces.
Explanation by: Mr. Dubey
The `+` operator concatenates strings including spaces.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
61
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
85%
Success Rate