Python String Concatenation
Syntax
String concatenation in Python is performed using the + operator.
# Using the + operatorstring1 = "Hello"string2 = "World"result = string1 + " " + string2Example
# Concatenating a greeting and a user's namefirst_name = "John"last_name = "Doe"full_name = first_name + " " + last_nameprint(full_name)