Looping Phyton
Exercises: 3a) Modify the while loop counter 3b) Modify the movie theater code 3c) Modify the for loop code above to print a countdown from 10 down to 1 feedback back to classroom # 3a) Modify the countdown clock code in the instruction panel 2 instead of printing out values from 10 down to 1 # make the code start at 1 and print values from 1 up to 10 # 3b) Modify the movie theater while loop code in the instruction # (You can use either version.) # Keep the existing code, but add in count variables to keep trac # of how many tickets are sold. Add in 2 counts-one for discoun # and one for regular price tickets. If the customer qualifies fo 6 7 ticket, in addition to printing out the message, add 1 to the d 10 # 11 # If the customer is sold a full price ticket, add 1 to the full 12 13 # 3c) Modify the last for loop code in the instruction panel 14 # print out numbers from 10 down to 1, going down by 1 each time 15 uitio Cidssroom rinting out values from 10 down to1 3 le start at 1 and print values from 1 up to 10 5 he movie theater while Loop code in the instruction panel. 6 either version. 7 sting code, but add in count variables to keep track 8 tickets are sold. Add in 2 counts - one for discounted tickets 9 regular price tickets. If the customer qualifies for a discounted 10 iddition to printing out the message, add 1 to the discount count. 11 mer is sold a full price ticket, add 1 to the full price count. 12 13 he last for loop code in the instruction panel 14 mbers from 10 down to 1, going down by 1 each time 15 ng 3015, 13:05:11) Exercises: 3a) Modify the while loop counter 3b) Modify the movie theater code 3c) Modify the for loop code above to print a countdown from 10 down to 1 feedback back to classroom # 3a) Modify the countdown clock code in the instruction panel 2 instead of printing out values from 10 down to 1 # make the code start at 1 and print values from 1 up to 10 # 3b) Modify the movie theater while loop code in the instruction # (You can use either version.) # Keep the existing code, but add in count variables to keep trac # of how many tickets are sold. Add in 2 counts-one for discoun # and one for regular price tickets. If the customer qualifies fo 6 7 ticket, in addition to printing out the message, add 1 to the d 10 # 11 # If the customer is sold a full price ticket, add 1 to the full 12 13 # 3c) Modify the last for loop code in the instruction panel 14 # print out numbers from 10 down to 1, going down by 1 each time 15 uitio Cidssroom rinting out values from 10 down to1 3 le start at 1 and print values from 1 up to 10 5 he movie theater while Loop code in the instruction panel. 6 either version. 7 sting code, but add in count variables to keep track 8 tickets are sold. Add in 2 counts - one for discounted tickets 9 regular price tickets. If the customer qualifies for a discounted 10 iddition to printing out the message, add 1 to the discount count. 11 mer is sold a full price ticket, add 1 to the full price count. 12 13 he last for loop code in the instruction panel 14 mbers from 10 down to 1, going down by 1 each time 15 ng 3015, 13:05:11)