how to add a number to a variable in python code example Example: how to add variables python x = 5 y = 10 x+y #result = 15