Question: Given the following code, which has a variable named light, what will be displayed if light has the value yellow? if ( light = =
Given the following code, which has a variable named light, what will be displayed if light has the value "yellow"?
iflight "green":
printYou are good to go
else:
printBetter stay put!"
printDrive safely."
Multiple choice question.
Drive safely.
Better stay put!
Drive safely.
Better stay put!
You are good to go
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
