Professional Documents
Culture Documents
V
V
sc = "Python-inputs"
choice = "S"
bool = False
print("Enter number 3 for 3 movies inputs: ", end ="") # users input to 3
em = int(input())
print("Enter number 3 for 3 snacks inputs: ", end ="") # users input to 3
es = int(input())
print("")
i=0
while (i < em) :# for loop for the users input length
print("Enter movie #:" + str((i + 1)) + ":", end ="") # the question will loop based on what number
inputed
mov1 = input()
movs.append(mov1)
i += 1
i=0
print("Enter snacks #:" + str((i + 1)) + ":", end ="") # the question will loop based on what number
inputed
snacks = input()
snack.append(snacks)
i += 1
print("")
deq = input()
if deq == choice: # if the user pressed letter S the first input on the snack will pop/remove
if not snack: # when the program has no list to pop this statement will proceed
bool = True
if __name__=="__main__":
MovieTime.main([])