merge 2 strings in python using merge code example Example: python concatenate strings x = ‘apples’ y = ‘lemons’ z = “In the basket are %s and %s” % (x,y)