Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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) 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started