python add 2 stet code example Example: add in python a = 6 b = 12 c = a + b #That is how you can add two numbers or variables