[Python-ideas] use type hints and slices to specify a valid numerical range, example: `Angle = int[0:361]`