Python內建函數(58)——slice,python內建58slice英文文檔:class slice(stop) class slice(start, stop[, step])Return a slice object representing the set of indices specified by range(start, stop, step). The start and step arguments default to None. Slice objects have
Python內建函數(56)——set,python內建56set英文文檔:class set([iterable])Return a new set object, optionally with elements taken from iterable. set is a built-in class. See set and Set Types — set, frozenset for documentation about this class.For other containers
Python內建函數(53)——repr,python內建53repr英文文檔:repr(object)Return a string containing a printable representation of an object. For many types, this function makes an attempt to return a string that would yield an object with the same value when passed to
Python內建函數(54)——reversed,pythonreversed英文文檔:reversed(seq)Return a reverse iterator. seq must be an object which has a __reversed__() method or supports the sequence protocol (the __len__() method and the __getitem__() method with integer arguments