<qiyuangong>205_Isomorphic_Strings_1.py
def isIsomorphic( s, t):
    if len(s) != len(t):
        return False
    check = [False] * len(s)
    for i in range(len(s)):
        if check[i]:
            continue
        temp = s.count(s[i])
        if temp != t.count(t[i]):
            return False
        if temp >= 2:
            for j in range(i + 1, len(s)):
                if s[j] == s[i]:
                    check[j] = True
                    if t[j] != t[i]:
                        return False
        check[i] = True
    return True
def sample_funcname ( var_0 , var_1 ) :
    if len ( var_0 ) != len ( var_1 ) :
        return False
    var_4 = [ False ] * len ( var_0 )
    for var_6 in range ( len ( var_0 ) ) :
        if var_4 [ var_6 ] :
            continue
        var_8 = var_0.count ( var_0 [ var_6 ] )
        if var_8 != var_1.count ( var_1 [ var_6 ] ) :
            return False
        if var_8 >= 2 :
            for var_11 in range ( var_6 + 1 , len ( var_0 ) ) :
                if var_0 [ var_11 ] == var_0 [ var_6 ] :
                    var_4 [ var_11 ] = True
                    if var_1 [ var_11 ] != var_1 [ var_6 ] :
                        return False
        var_4 [ var_6 ] = True
    return True
