Python Create Object With Variable Calculator Solver