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"
homeworkdone True
if day "Saturday" and homeworkdone True:
printGo to movie"
else:
printDo your homework!"
printCant 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
