All pastes #279500 Raw Edit

adio

public text v1 · immutable
·published 2006-12-15 02:31 UTC
rendered paste body
Modify Question 3 to use a while...: loop by creaking a seperate list called  fridge_list that will contain the values given by fridge.keys. As well, use a variable name, current_key that will refer to the value of the current element in the loop that will be obtained by the method fridge_list.pop . Remember to place fridge_list.pop as the last line of the while ....: loop so that the repetition will end normally. Use the same else: statement at the end of the while loop as the one used at the end of question 3.