Exercise
For each of the following tasks, draw what the final list looks like and diagram how you
would solve the problem by writing a step by step process to solve the task.
1. Given a list of integers, replace every element at an even index with 0. Remember lists
start at index 0, so the first element should be replaced and then every other element
thereafter.
Initial list:
3
4
1
2
89
Final list:
Solution Steps:
![Exercise For each of the following tasks draw what the final list looks like and diagram how you would solve the problem by writing a step by step process to s class=](https://us-static.z-dn.net/files/d58/c2a5c6bf479b388dc914312e2a50d017.png)