print("printing modelcurrent_designcompleted_models append(current_designdisplay all completed models print("\nthe following models have been printed:"for completed_model in completed_modelsprint(completed_modelthis program starts with list of designs that need to be printed and an empty list called completed_models that each design will be moved to after it has been printed as long as designs remain in unprinted_designsthe while loop simulates printing each design by removing design from the end of the liststoring it in current_designand displaying message that the current design is being printed it then adds the design to the list of completed models when the loop is finished runninga list of the designs that have been printed is displayedprinting modeldodecahedron printing modelrobot pendant printing modeliphone case the following models have been printeddodecahedron robot pendant iphone case we can reorganize this code by writing two functionseach of which does one specific job most of the code won' changewe're just making it more efficient the first function will handle printing the designsand the second will summarize the prints that have been madeu def print_models(unprinted_designscompleted_models)""simulate printing each designuntil none are left move each design to completed_models after printing ""while unprinted_designscurrent_design unprinted_designs pop(simulate creating print from the design print("printing modelcurrent_designcompleted_models append(current_designv def show_completed_models(completed_models)"""show all the models that were printed ""print("\nthe following models have been printed:"for completed_model in completed_modelsprint(completed_modelunprinted_designs ['iphone case''robot pendant''dodecahedron'completed_models [