(name: str)
given a name of the form "name@i", returns (name, i)
    if given a name of the form "name", returns (name, 0)
given a name of the form "name
given a name of the form name
def get_name_and_index(name: str) -> Tuple[str, int]:
    """given a name of the form "name@i", returns (name, i)
    if given a name of the form "name", returns (name, 0)
    """
    splits = name.split("@", 1)
    if len(splits) == 1:
        return splits[0], 0
    else:
        return splits[0], int(splits[1])
def get_name_and_index ( name : str ) -> Tuple [ str , int ] : splits = name . split ( "@" , 1 ) if len ( splits ) == 1 : return splits [ 0 ] , 0 else : return splits [ 0 ] , int ( splits [ 1 ] )