Question: Doing this task for uni A reverse lookup table or index allows us to quickly find the location of objects in a list. For example,
Doing this task for uni

A reverse lookup table or index allows us to quickly find the location of objects in a list. For example, given the list [4, 1, 0, 2, 3] the reverse index is [2, 1, 3, 4, 9] since a is at index 2, 1 is at index 1, 2 is at index 3, etc. Write code to generate a reverse lookup table for the list provided. Your table should be in the form of a list stored in revers e_'Lookup
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
