Please find the error
This code is to find the input as weekend or week day but when we give the input as a weekday(say tuesday), the output comes Weekend. Please find the error in this code
in python, you have to rename what you're trying to check when using
or. you need to change your
day = input("Enter the day: ") if day == "Sunday" or day == "Saturday": print("Weekend") else: print("Weekday")
That should work.