def encrypt2(text, n):
    """
    Another person's solution. I like how they used the 3rd parameter for skipping every other char.
    """
    for i in range(n):
        text = text[1::2] + text[::2]
    return text