code: def repeat(self, count=2):
          
          # Subtracting one from the count means the code mentioned is
          # truly repeated exactly `count` times.
          # Control().move_up().repeat(3) ==
          # Control().move_up().move_up().move_up()
          try:
              return self.__class__(''.join((
                  str(self),
                  self.last_code() * (count - 1),
              )))
          except TypeError as ex:
              raise TypeError(
                  '`count` must be an integer. Got: {!r}'.format(count)
              ) from ex
docs: Repeat the last control code a number of times.
              Returns a new Control with this one's data and the repeated code.