<reponame>PacktPublishing/Python-for-Beginners---Start-to-Code-with-Python
#import datetime
from datetime import datetime
today = datetime.now()
days = ["Mon","Tues","Wed","Thurs","Fri","Sat","Sun"]
print(today)
print(today.day)
print(today.month)
print(today.weekday())
print(days[today.weekday()])


#import datetime
from datetime import datetime
today = datetime.now()
days = ["Mon","Tues","Wed","Thurs","Fri","Sat","Sun"]
print(today)
print(today.day)
print(today.month)
print(today.weekday())
print(days[today.weekday()])
#import datetime