1. Home
  2. Data Science
  3. Python
  4. What is the result of 'hello' + 'world' in Python?

Added 4 May 2024

What is the result of 'hello' + 'world' in Python?

  1. 'helloworld' Correct answer
  2. 'hello world'
  3. 'hello' 'world'
  4. Error

Correct answer

A. 'helloworld'

18 views

MCQSEXAM

Explanation

The + operator concatenates strings, so 'hello' + 'world' results in 'helloworld'.

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs