The function can be simplified by iterating using a for loop.
def find_shortest(words): shortest = words[0] for word in words: if len(shortest) >= len(word): shortest = word return shortest
At which point trying to reuse such trivial code leads to more complicated and slower code; sometimes cut & paste is fine.