1. Home
  2. Python
  3. Python Examples
  4. Python – Concatenate Two Strings

Python – Concatenate Two Strings

Python Program to Concatenate Two Strings

Write a Python program to concatenate two string and print the result. Also create a example to take user input of two strings and concatenate and print the result.

Using + symbol to concatenate two different strings together and get result string.

Example

A sample Python program to assgin static string to two variables and then concatenate. Then print the result string with print() function.

Another example to take input from user and concatenate them.

Tags ,