def squish(tup):
    """Squishes a singleton tuple ('A',) to 'A'

    If tup is a singleton tuple, return the underlying singleton. Otherwise,
    return the original tuple.

    Args:
        tup (tuple): Tuple to squish
    """
    if len(tup) == 1:
        return tup[0]
    else:
        return tup