string concatanation in python code example
Example 1: python concatenate strings
x = ‘apples’
y = ‘lemons’
z = “In the basket are %s and %s” % (x,y)
Example 2: string concatenation in python
x="String"
y="Python"
d="+"
c = "We can concatenation " + y + x + "with" + d + "Operator"
print(c)