<doocs>0524.Longest Word in Dictionary through Deleting_1.py
def check(a, b):
    m, n = len(a), len(b)
    i = j = 0
    while i < m and j < n:
        if a[i] == b[j]:
            j += 1
        i += 1
    return j == n
def sample_funcname ( var_0 , var_1 ) :
    var_3 , var_4 = len ( var_0 ) , len ( var_1 )
    var_7 = var_5 = 0
    while var_7 < var_3 and var_5 < var_4 :
        if var_0 [ var_7 ] == var_1 [ var_5 ] :
            var_5 += 1
        var_7 += 1
    return var_5 == var_4
