pythonインプリメンテーション入力日、確定週


pythonインプリメンテーション入力日、確定週
#     ,    
import calendar


def check_week(str1):
    date = str1.split("-")
    year, month, day = int(date[0]), int(date[1]), int(date[2])
    ctrl_code = calendar.weekday(year, month, day)
    print("%s " % str1, end="")
    if ctrl_code == 0:
        print("  ")
    elif ctrl_code == 1:
        print("  ")
    elif ctrl_code == 2:
        print("  ")
    elif ctrl_code == 3:
        print("  ")
    elif ctrl_code == 4:
        print("  ")
    elif ctrl_code == 5:
        print("  ")
    elif ctrl_code == 6:
        print("  ")


if __name__ == "__main__":
    str2 = input("          :( :1991-01-24)")
    check_week(str2)