append function in string python code example Example: append string python var1 = "foo" var2 = "bar" var3 = var1 + var2