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