Answer to Question #146012 in Python for Stephanie Teixeira

Question #146012
Hello, I am stuck puzzle I need to complete and need help. Essentially, the puzzle is that I have 4 lightbulbs, and 3 buttons. the goal is to turn all the lights using the buttons. Here are the requirements for the question: , you need to write a correct condition of the while-loop statement so that the program
runs continuously until the goal of the puzzle is achieved. As described in the puzzle description,
the goal of the puzzle is to turn on all the lights. You need to think about what condition makes
the program run until all the lights are on.
❖ When you write the condition, you need to use the given lightList list in the program where a
state of each light (on/off) is described using Boolean data type. Each light corresponds to each slot of lightList. For example, if the 1st light is on, lightList[0] has True, and if the
2nd light is off, lightList[1] has False.
I would greatly appreciate your help!
1
Expert's answer
2020-11-22T09:48:20-0500
Dear Stephanie Teixeira, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS