how to add elements in a string in python code example Example: append string python var1 = "foo" var2 = "bar" var3 = var1 + var2