Question: Compound conditional Video What is output from the following code? day = Tuesday homework _ done = True if day = = Saturday and homework

Compound conditional Video
What is output from the following code?
day = "Tuesday"
homework_done = True
if day == "Saturday" and homework_done == True:
print("Go to movie")
else:
print("Do your homework!")
print("Can't wait for the weekend")
Go to movie
Do your homework!
Can't wait for the weekend
Do your homework!
Can't wait for the weekend
Can't wait for the weekend
Do your homework!

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!