标签:python递归小应用
__author__ = abcddic = { :, :, :{ :, :{ :, :, :{ :, :{ :, :, :{ :, :, :{} } } } } } } Serchabcd(name, dic, list_tmp=[]): i dic: dic[i] == name: list_tmp.append(name) (dic[i]) (dic[i]) != : Serchabcd(name, dic[i], list_tmp) (list_tmp), name count, = Serchabcd(, abcddic) % (count, )
标签:python递归小应用
原文地址:http://yunweipy.blog.51cto.com/10683003/1697393