Question: Nested If assessment What is output from the following code? day = Thursday homework _ done = False if day = = Saturday: if homework

Nested If assessment
What is output from the following code?
day = "Thursday"
homework_done = False
if day == "Saturday":
if homework_done:
print("Go to movie")
else:
print("Do your homework!")
print("Can't wait for the weekend")
Can't wait for the weekend
Do your homework!
Do your homework!
Can't wait for the weekend
Go to movie
Do your homework!
Can't wait for the weekend
 Nested If assessment What is output from the following code? day

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!