Q. What does the Python code: print(‘hello’ + ‘world’) output?
Solution:
The + operator concatenates the strings ‘hello’ and ‘world’ into ‘helloworld’.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The + operator concatenates the strings ‘hello’ and ‘world’ into ‘helloworld’.
Strengthen Your Practice with our comprehensive question bank.