<doocs>0676.Implement Magic Dictionary_1.py
def gen( word):
    return [word[:i] + '*' + word[i + 1 :] for i in range(len(word))]
def sample_funcname ( var_0 ) :
    return [ var_0 [ : var_1 ] + '*' + var_0 [ var_1 + 1 : ] for var_1 in range ( len ( var_0 ) ) ]
