I would like to write a program that gives the day of the week on the 30th of the month. I have a code in which I have to specify the date, what can I change in it to work specifically for the 30th of the month?
import datetime
date=str(input('(Date for example 30 03 2019):'))
day_name= ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday','Sunday']
day = datetime.datetime.strptime(date, '%d %m %Y').weekday()
print(day_name[day])