Question: Write a python function called largest odd_index(li) that takes an unordered list of positive integers as an argument and returns the index of the largest

Write a python function called largest odd_index(li) that takes an unordered list of positive integers as an argument and returns the index of the largest largest odd integer in the list. Your function should not modify li. For example, if li = [4, 12, 9, 103, 22, 142, 7, 42], the function should return 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!