code: def take(self, n):
          
          if n <= 0:
              return self._transform(transformations.take_t(0))
          else:
              return self._transform(transformations.take_t(n))
docs: Take the first n elements of the sequence.
  
          >>> seq([1, 2, 3, 4]).take(2)
          [1, 2]
  
          :param n: number of elements to take
          :return: first n elements of sequence