If step is explicitly zero or negative, raise a ValueError exception.