5 תשובות
בדיוק עשיתי את זה לפני חודש, חכי, אחפש את זה
הינה, עובד?

import calendar

date=str(input("enter the date: "))

x = calendar.weekday(int(date [6:]), int(date [3:5]), int(date[0:2]))

day = ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]

print("day =", day[x])
שואל השאלה:
ממש תודה עובד טוב 3>
אנונימית
יש סיפריה דומה שנקראת datetime, ממליץ גם להשתמש בה בצורה דומה