python set a variable to 2 variables code example Example: how to add 2 variables in python var1 = 5 var2 = 5 result = var1 + var2