iy=1993 ey=1996 im=10 em=03 if im < em: season="s" if im > em: season="w" y=iy m=im while ( (y<ey) or ((y==ey)and(m<=em)) ): ・・・・ 計算 ・・・・ if (m==em)and(season=="s"): m=im y=y+1 elif(m==em)and(season=="w"): m=im elif m < 12: m=m+1 else: m=1 y=y+1
下から選んでください: