Nov-02-2017, 04:51 PM
We haven't used the list method in class but briefly went over them. I began to attempt to use a list but I wanted to figure out why the program is running the error input code even when the user's input was correct. Also, I didn't know how to call each input from a list so I avoided it for the time being.
Looking at your code, I am a bit confused. Would creating a loop in the main fix the code repeating where it shouldn't? I thought that my code in the total_bottles_returned function was creating it but I just can't figure out where.
Sorry, I'm not doubting you, I am just a bit confused right now that's all.
Looking at your code, I am a bit confused. Would creating a loop in the main fix the code repeating where it shouldn't? I thought that my code in the total_bottles_returned function was creating it but I just can't figure out where.
Sorry, I'm not doubting you, I am just a bit confused right now that's all.