from typing import Tuple


def part_rep(
    part: Tuple,
) -> str:

    """Function that returns the string representation of a partition,
    so it can act as the node of a graph.
    """

    result = ""
    for x in part: result += str(x) + "."
    return result[:-1]