@@ -101,7 +101,7 @@ def yinyang(item):
101101 print ("农历:" , end = '' )
102102 print ("\t {}年{}{}月{}日" .format (day .Lyear0 + 1984 , Lleap , ymc [day .Lmc ], rmc [day .Ldi ]))
103103
104- print ("\n 八字: 同义词:七杀|偏官 偏印|枭神 流岁取天干 解读:钉钉或微信pythontesting 以下未包含暗合 、三合" )
104+ print ("\n 八字: 同义词:七杀|偏官 偏印|枭神 流岁取天干 解读:钉钉或微信pythontesting 以下未包含拱合 、三合" )
105105print ("=" * 140 )
106106print ("{:^28s}{:^28s}{:^28s}{:^28s}" .format ('年【父-根】' , "月【兄弟僚友-苗】" , "日【自己配偶-花】" , "时【子孙-实】" ))
107107print ("-" * 140 )
@@ -135,7 +135,7 @@ def yinyang(item):
135135 ten_deities [me ][gan ])
136136 print ("{:^26s}" .format (out ), end = ' ' )
137137
138-
138+ print ()
139139for seq , item in enumerate (zhis ):
140140
141141 output = ''
@@ -150,7 +150,7 @@ def yinyang(item):
150150 output += zhi
151151 print ("{:^30s}" .format (output ), end = ' ' )
152152
153-
153+ print ()
154154for item in zhus :
155155 print ("{:^30s}" .format (nayins [item ]), end = ' ' )
156156
@@ -502,8 +502,8 @@ def check_subset(gans, db, desc):
502502
503503print (list (gans ).count ('癸' ))
504504
505- # short = min(scores, key=scores.get)
506- # print("\n\n五行缺{}的建议".format(short))
507- # print("=========================")
508- # print("{}".format(gan_health[short]))
505+ short = min (scores , key = scores .get )
506+ print ("\n \n 五行缺{}的建议" .format (short ))
507+ print ("=========================" )
508+ print ("{}" .format (gan_health [short ]))
509509
0 commit comments