Question: 1) ((-6>=(3*-2)) and True)and((5!=False)or(0
1)
((-6>=(3*-2)) and True)and((5!="False")or(0<-3))
What does this evaluate to?
Group of answer choices
a) False
b) True
2)
candles = ["Beach Day", "Lavender", "Pumpkin", "Vanilla"] candles[0] = "Pine" candles.extend(["Rose", "Peppermint"]) candles.pop(2)
What is candles equal to at the end of this program?
Group of answer choices
a) ['Pine', 'Lavender', 'Vanilla', 'Rose', 'Peppermint']
b) ['Pine', 'Beach Day', 'Lavender', 'Vanilla', 'Rose', 'Peppermint']
c) ['Pine', 'Pumpkin', 'Vanilla', 'Rose', 'Peppermint']
d) ['Rose', 'Peppermint']
3)
Match the scenario with the proper coding tool.
a) I need my code to print "yes" if the variable color is equal to "green" and print "no" otherwise.
Function While loop Conditional For loop
b) I need my code to print every item in my grocery list.
Function While loop Conditional For loop
c) I need my code to print "Plant growing!" until my plant variable is at max capacity (10).
Function While loop Conditional For loop
d) I need a chunk of code that will scrub a list of any negative numbers a return me a shortened list.
Function While loop Conditional For loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
