class slice(stop) class slice(start, stop, step=1) Return a slice object representing the set of indices specified by range(start, stop, step). The start and step arguments default to None. ...