Question: Please help, Im not sure what I did incorreect. BlockPy: #23.2) Weekend Check The function is_weekend is supposed to consume nothing and return a Boolean

 Please help, Im not sure what I did incorreect. BlockPy: #23.2)

Please help, Im not sure what I did incorreect.

BlockPy: #23.2) Weekend Check The function is_weekend is supposed to consume nothing and return a Boolean indicating whether the current day of the week is a weekend, according to user input. However, it does not work correctly. Fix this function by applying the rules of scope. Feedback Ready Printer Run Blocks Split /Text| Reset O Upload E History 1 day_of_week - input ("what day of the week is today?") def is_weekend() 3is_saturday - (day_of_week.lower)"saturday") 4 is_sunday (day_of_week.lowerunday") return is_saturday or is_sunday print(is_weekend()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!