Apr-02-2017, 07:27 AM
The error is quite clear - your dont have shopping_list defined when you call
show_list(shopping_list)
on line 46. Perhaps you should add return statetement with shopping_list into your shop() function and useshopping_list = shop() show_list(shopping_list)in your main function?