Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

) Create a function called find_insert_position that takes two parameters.

I need help with this question on my study guide and how to code it in python.

1.) Create a function called find_insert_position that takes two parameters. The first parameter is a string representing a terrestrial mammal's name. The second parameter is a list of strings in alphabetical order.

i.) The function returns an integer indicating the position (index) in the list of names such that if you inserted the given mammal's name into the list at that index the list would still be in alphabetical order.

NOTE: the function does not insert the name, it does not change the names list in anyway. It simply finds and returns the appropriate integer index.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question