Question: For this assignment, I'd like you to: Create a Python file for each of the two prompts (one for while loop, one for for loop)
For this assignment, I'd like you to: Create a Python file for each of the two prompts (one for while loop, one for for loop) Create a stack trace for each of your programs Loop Prompts Use a while loop to continuously print "you've got candy" as long as your "candy bucket" is full. When your candy bucket is empty, I want it to stop printing "you've got candy" and instead print "Your bucket is empty once. (hint, the candy bucket could be a variable storing a number of pieces of candy) - Use a for loop to print "Spooky pumpkin" for every pumpkin you have. If I have six pumpkins, it should print six times. (hint, you can store the number of pumpkins you have in a variable) VAIL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
