Task: Get Day of Week from a Date in Python
Task: Get Day of Week from a Date in Python: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that determines the day of the week for a given date. The script should take a date as input and return the corresponding day of the week as a number, where:
Part of PrimeIntellect/Terminal-Lego-15k.