<qiyuangong>242_Valid_Anagram_2.py
def isAnagram( s, t):
    if len(s) != len(t):
        return False
    counter = [0] * 26
    for i in range(len(s)):
        counter[ord(s[i]) - ord('a')] += 1
        counter[ord(t[i]) - ord('a')] -= 1
    for num in counter:
        if num != 0:
            return False
    return True
def sample_funcname ( var_0 , var_1 ) :
    if len ( var_0 ) != len ( var_1 ) :
        return False
    var_6 = [ 0 ] * 26
    for var_8 in range ( len ( var_0 ) ) :
        var_6 [ ord ( var_0 [ var_8 ] ) - ord ( 'a' ) ] += 1
        var_6 [ ord ( var_1 [ var_8 ] ) - ord ( 'a' ) ] -= 1
    for var_12 in var_6 :
        if var_12 != 0 :
            return False
    return True
