Python Integer Limit Calculator With Steps