Question: What's wrong with this loop? lst = [ ] while True: lst . append ( Pumpkin ) Question 2 options: Cannot append to
What's wrong with this loop?
lst
while True:
lstappendPumpkin
Question options:
Cannot append to a list within a loop.
Loop never terminates!
There's nothing wrong with this loop.
True should be False.
None of the above.
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
