Question: K intBack 23 2) Weekend Check Blockpy: #23.2) Weekend Check The function is_weekend is supposed to consume nothing and return a Boolean indicating whether the
K intBack 23 2) Weekend Check 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 a weekend, according to user input. However, it does not work correcty. Fix this function by applying the rules of scope (1/3 completed) NextLast M Console Feedback: Ready Run 11 Blocks Split | / Text | Reset Upload History day of_week -input("What day of the veek is today?") def is weekend) is saturday (day of week. lover)saturday") 4is sunday- (day_of_week. lover)sunday" return is saturday or is sunday 6 print(is weekendO)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
