Vidyalelo
Python · Q45

Python MCQs: Variable Names and Operators Chapter

Programming · Python · question 45

Q45

What is the output of print("Hello" + " " + "World") ?

A.
"Hello World"
Answer
B.
"hello world"
C.
"Hello+World"
D.
"Hello" " " "World"

Answer: Option A

Solution

Answer: Option A
Solution:
The + operator concatenates the strings.