Get content of tape.

def get_tape(self):
        """Get content of tape."""
        result = ''
        for i in range(min(self.tape), max(self.tape) + 1):
            symbol = self.tape[i] if self.tape[i] != self.EMPTY_SYMBOL else ' '
            result += symbol
        # Remove unnecessary empty symbols on tape
        return result.strip()