1 from datetime import datetime 2 3 class Solution: 4 def dayOfTheWeek(self, day: int, month: int, year: int) -> str: 5 days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday","Sunday"] 6 return days[datetime(year, month, day).weekday()]