Question: Code in Python: The program does some operations on two lists one list of names, one list of ages. Each operation for a comment is

Code in Python:

The program does some operations on two lists one list of names, one list of ages. Each operation for a comment is done USING ONE PYTHON COMMAND except the last two which each require a loop.

Help-

The first item in a list has index 0 so to delete the second entry in a list use index 1

"Insert" into a list means that no items are lost items are moved over to accommodate the inserted item.

"Change" an item means that an actual entry is changed there is no new index.

One thing that you may want to do is to add extra commands to print the lists after every change that you make so that you can check it worked properly. Delete those extra print statements before you upload.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!