• <li id="89dy1"><s id="89dy1"></s></li>
    <div id="89dy1"></div>
    <sup id="89dy1"><bdo id="89dy1"></bdo></sup>
    <li id="89dy1"><s id="89dy1"></s></li>
  • <li id="89dy1"><s id="89dy1"><thead id="89dy1"></thead></s></li>
  • <sup id="89dy1"><menu id="89dy1"><video id="89dy1"></video></menu></sup>
  • <li id="89dy1"></li><sup id="89dy1"><bdo id="89dy1"></bdo></sup>
  • <div id="89dy1"></div>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <progress id="89dy1"><tr id="89dy1"></tr></progress>
    <sup id="89dy1"><menu id="89dy1"></menu></sup><sup id="89dy1"></sup><sup id="89dy1"></sup>
  • <dl id="89dy1"></dl>
  • <dl id="89dy1"><menu id="89dy1"></menu></dl>
    <sup id="89dy1"><menu id="89dy1"></menu></sup>
    <dl id="89dy1"><ins id="89dy1"><thead id="89dy1"></thead></ins></dl>
    <sup id="89dy1"><bdo id="89dy1"></bdo></sup>
    <li id="89dy1"></li>
    <div id="89dy1"><tr id="89dy1"></tr></div>
    <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <dl id="89dy1"><ins id="89dy1"></ins></dl>
  • <div id="89dy1"></div>
    <dl id="89dy1"><menu id="89dy1"></menu></dl>
  • <sup id="89dy1"><bdo id="89dy1"></bdo></sup><li id="89dy1"><s id="89dy1"></s></li>
  • <input id="89dy1"><source id="89dy1"><listing id="89dy1"></listing></source></input>
    <dl id="89dy1"><menu id="89dy1"></menu></dl>
  • <li id="89dy1"></li>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <sup id="89dy1"><menu id="89dy1"><small id="89dy1"></small></menu></sup>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
    <dl id="89dy1"></dl>
  • <dl id="89dy1"><menu id="89dy1"><small id="89dy1"></small></menu></dl>
    <dl id="89dy1"></dl>
    <dl id="89dy1"></dl>
  • <sup id="89dy1"><menu id="89dy1"><small id="89dy1"></small></menu></sup>
  • <li id="89dy1"><s id="89dy1"></s></li>
    <li id="89dy1"></li><menuitem id="89dy1"><menu id="89dy1"></menu></menuitem>
  • <dl id="89dy1"><menu id="89dy1"></menu></dl>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup><menuitem id="89dy1"><menu id="89dy1"></menu></menuitem>
  • #coding=utf-8
    from __future__ import print_function
    
    #利用泰勒公式計算星期幾
    #w=y+[y/4]+[c/4]-2c+[26(m+1)/10]+d-1 
    def getweek(year,month,day):
        #w        #星期
        #c        #世紀-1 YYYY的頭兩位
        #y        #年份   YYYY的后兩位
        #m        #月份 >=3 1月 2月看成上年的13月 14月
        #d=day    #日
        if month>=3: 
            c=year / 100
            y=year % 100
            m=month
        else:
            m=month+12
            y=(year-1) % 100
            c=(year-1) / 100
        w=y+y/4+c/4-2*c+(26*(m+1))/10+day-1
        w=(w+700) %7
        return w
    
    
    def get_days(year,mmonth):
      rui=[31,29,31,30,31,30,31,31,30,31,30,31]
      ping=[31,28,31,30,31,30,31,31,30,31,30,31]
      ruiflag=0
      if year%4==0 and year%100!=0 or year%400==0:
        ruiflag=1
      if ruiflag==1:
        return rui[mmonth-1]
      return ping[mmonth-1]
    
    
    
    #print("come in main:")
    month=["JAN","FEB","MAR","APR","MAY","JUN","JUL","AUG","SEP","OCT","NOV","DEC"]
    title=["SUNDAY","MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY"]
    year=raw_input("please input year:")     
    for i in range(1,13):
      print("%6s"%month[i-1])
      for j in range(1,8): 
        print("%10s"%title[j-1],end=' ')
      print(" ")
      flag=0
      days=get_days(int(year),i)
      for k in range(1,days+1):
        if(k==1): 
          week=5*getweek(int(year),i,k)+1
          for j in range(1,week):
            print(' ',end=' ')
          flag=getweek(int(year),i,k)
        print("%9d"%k,end=' ')
        if k<7:
          if flag+k==7: 
            print(" ")
        else :
          if (k+flag)%7==0:
            print(" ")
      print("\n   ==========================================================================\n")
    
    011期平特一肖是什么?
  • <li id="89dy1"><s id="89dy1"></s></li>
    <div id="89dy1"></div>
    <sup id="89dy1"><bdo id="89dy1"></bdo></sup>
    <li id="89dy1"><s id="89dy1"></s></li>
  • <li id="89dy1"><s id="89dy1"><thead id="89dy1"></thead></s></li>
  • <sup id="89dy1"><menu id="89dy1"><video id="89dy1"></video></menu></sup>
  • <li id="89dy1"></li><sup id="89dy1"><bdo id="89dy1"></bdo></sup>
  • <div id="89dy1"></div>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <progress id="89dy1"><tr id="89dy1"></tr></progress>
    <sup id="89dy1"><menu id="89dy1"></menu></sup><sup id="89dy1"></sup><sup id="89dy1"></sup>
  • <dl id="89dy1"></dl>
  • <dl id="89dy1"><menu id="89dy1"></menu></dl>
    <sup id="89dy1"><menu id="89dy1"></menu></sup>
    <dl id="89dy1"><ins id="89dy1"><thead id="89dy1"></thead></ins></dl>
    <sup id="89dy1"><bdo id="89dy1"></bdo></sup>
    <li id="89dy1"></li>
    <div id="89dy1"><tr id="89dy1"></tr></div>
    <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <dl id="89dy1"><ins id="89dy1"></ins></dl>
  • <div id="89dy1"></div>
    <dl id="89dy1"><menu id="89dy1"></menu></dl>
  • <sup id="89dy1"><bdo id="89dy1"></bdo></sup><li id="89dy1"><s id="89dy1"></s></li>
  • <input id="89dy1"><source id="89dy1"><listing id="89dy1"></listing></source></input>
    <dl id="89dy1"><menu id="89dy1"></menu></dl>
  • <li id="89dy1"></li>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <sup id="89dy1"><menu id="89dy1"><small id="89dy1"></small></menu></sup>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
    <dl id="89dy1"></dl>
  • <dl id="89dy1"><menu id="89dy1"><small id="89dy1"></small></menu></dl>
    <dl id="89dy1"></dl>
    <dl id="89dy1"></dl>
  • <sup id="89dy1"><menu id="89dy1"><small id="89dy1"></small></menu></sup>
  • <li id="89dy1"><s id="89dy1"></s></li>
    <li id="89dy1"></li><menuitem id="89dy1"><menu id="89dy1"></menu></menuitem>
  • <dl id="89dy1"><menu id="89dy1"></menu></dl>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup><menuitem id="89dy1"><menu id="89dy1"></menu></menuitem>
  • <li id="89dy1"><s id="89dy1"></s></li>
    <div id="89dy1"></div>
    <sup id="89dy1"><bdo id="89dy1"></bdo></sup>
    <li id="89dy1"><s id="89dy1"></s></li>
  • <li id="89dy1"><s id="89dy1"><thead id="89dy1"></thead></s></li>
  • <sup id="89dy1"><menu id="89dy1"><video id="89dy1"></video></menu></sup>
  • <li id="89dy1"></li><sup id="89dy1"><bdo id="89dy1"></bdo></sup>
  • <div id="89dy1"></div>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <progress id="89dy1"><tr id="89dy1"></tr></progress>
    <sup id="89dy1"><menu id="89dy1"></menu></sup><sup id="89dy1"></sup><sup id="89dy1"></sup>
  • <dl id="89dy1"></dl>
  • <dl id="89dy1"><menu id="89dy1"></menu></dl>
    <sup id="89dy1"><menu id="89dy1"></menu></sup>
    <dl id="89dy1"><ins id="89dy1"><thead id="89dy1"></thead></ins></dl>
    <sup id="89dy1"><bdo id="89dy1"></bdo></sup>
    <li id="89dy1"></li>
    <div id="89dy1"><tr id="89dy1"></tr></div>
    <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <dl id="89dy1"><ins id="89dy1"></ins></dl>
  • <div id="89dy1"></div>
    <dl id="89dy1"><menu id="89dy1"></menu></dl>
  • <sup id="89dy1"><bdo id="89dy1"></bdo></sup><li id="89dy1"><s id="89dy1"></s></li>
  • <input id="89dy1"><source id="89dy1"><listing id="89dy1"></listing></source></input>
    <dl id="89dy1"><menu id="89dy1"></menu></dl>
  • <li id="89dy1"></li>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
  • <sup id="89dy1"><menu id="89dy1"><small id="89dy1"></small></menu></sup>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup>
    <dl id="89dy1"></dl>
  • <dl id="89dy1"><menu id="89dy1"><small id="89dy1"></small></menu></dl>
    <dl id="89dy1"></dl>
    <dl id="89dy1"></dl>
  • <sup id="89dy1"><menu id="89dy1"><small id="89dy1"></small></menu></sup>
  • <li id="89dy1"><s id="89dy1"></s></li>
    <li id="89dy1"></li><menuitem id="89dy1"><menu id="89dy1"></menu></menuitem>
  • <dl id="89dy1"><menu id="89dy1"></menu></dl>
  • <sup id="89dy1"><menu id="89dy1"></menu></sup><menuitem id="89dy1"><menu id="89dy1"></menu></menuitem>