import model_solution as model import view_solution as view fruits = model.get_store() # new_fruit = input(view.ask_fruit()) # model.add_fruits(new_fruit) remove_fruit = input(view.ask_fruit()) model.update_fruits(remove_fruit) show = view.show_fruits() print(show)
from view_solution import ask_fruit, show_fruits from model_solution import get_store, update_fruit fruits = get_store() show = show_fruits(fruits) new_fruit = ask_fruit() list_fruits = update_fruit(fruits, new_fruit)