How to print concatenated string in Python?


When used with strings, plus (+) is defined as concatenation operator. It appends second string to the first string.

>>> s1 = 'TutorialsPoint '
>>> s2 = 'Hyderabad'
>>> print (s1+s2)
   TutorialsPoint Hyderabad

Updated on: 30-Jul-2019

323 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements