def valid_variation(word: str) -> str:
    '\n    Generates a single valid variation\n\n    Args:\n        word: the triplet to generate a variation from\n    Returns:\n        str: A valid variation of `word` or None otherwise\n    '
    for variation in variation_gen(word):
        if all(((i in B32_CHARSET) for i in b64encode(''.join(variation).encode()))):
            return ''.join(variation)
    return None
Generates a single valid variation

Args:
    word: the triplet to generate a variation from
Returns:
    str: A valid variation of `word` or None otherwise
def valid_variation(word: str) -> str:
    '\n    Generates a single valid variation\n\n    Args:\n        word: the triplet to generate a variation from\n    Returns:\n        str: A valid variation of `word` or None otherwise\n    '
    for variation in variation_gen(word):
        if all(((i in B32_CHARSET) for i in b64encode(.join(variation).encode()))):
            return .join(variation)
    return None