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.
“Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!”