How to get day of the week based on inputed date(Python)

So i wanted the user to enter date and based on that day to get named day of the week, for example today’s date is 2022.11.10, so wanted answer would be Thursday. I know this is wrong, can anybody help? import datetime def dayOfTheWeek(day, month, year): date = datetime.date(year, month, day) weekday = date.weekday() day_dict… Read More How to get day of the week based on inputed date(Python)