Skip to main content

PYTHON - today day script

script that tell you today day !!!!!!!!


import datetime
a = datetime.datetime.today().weekday()
if a == 0:
    print("It's Monday.")
elif a == 1:
    print("It's Tuesday.")
elif a == 2:
    print("It's Wednesday.")
elif a == 3:
    print("It's Thursday.")
elif a ==4:
    print("It's Friday.")
elif a == 5:
    print("It's Saturday.")
elif a == 6:
    print("It's Sunday.")