特殊的数独身数,:水仙花数, 四叶玫瑰数, 五角星数, 六合数 ,北斗七星数, 八仙数, 九九重阳数 ,十全十美数 def get_num_n(w, n): num_list = [] start = 10 ** (w - 1) end = 10 ** w for num in