<doocs>2390.Removing Stars From a String_1.py
def removeStars( s: str) -> str:
    stk = []
    for c in s:
        if c == '*':
            stk.pop()
        else:
            stk.append(c)
    return ''.join(stk)
def sample_funcname ( var_0 : str ) -> str :
    var_2 = [ ]
    for var_3 in var_0 :
        if var_3 == '*' :
            var_2.pop ( )
        else :
            var_2.append ( var_3 )
    return ''.join ( var_2 )
