0

need to write program whether or not today is a day that begins with t

beginner to this so any help would be great

5th Feb 2019, 10:33 AM
Ross Hunter
1 Resposta
+ 5
from datetime import date weekdays = ('mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun') print(weekdays[date.weekday(date.today())].startswith('t'))
5th Feb 2019, 1:09 PM
Anna
Anna - avatar