In this article, we would like to show you how to concatenate strings in Python.
string1 = "AB" string2 = "CD" result = string1 + string2 print(result) # ABCD
In this example, we present how to concatenate strings using
string1 = "Dirask" string2 = "awesome!" result = string1 + " is " + string2 print(result)
Dirask is awesome!