Python Default Variable Value Solver