Question: Python help: Write a code that finds the elements of a sorted list that its index is equal to the item in that index. For

Python help: Write a code that finds the elements of a sorted list that its index is equal to the item in that index.

For example if the list is lst= [-2,0,2,3,6,7,9] then code has to return 2 and 3 since lst[2]=2 and lst[3]=3

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 Databases Questions!