If I receive a bunch of similar strings like:
banana
Banana-e
bAnana
banana
They all contain "banana" in them, and I want them all to be, just simply, "Banana"?
But, ofc, with others, like [orange, oranges, oRange] = Orange
What would be the correct python approach to this?
Edit: I already know what the outputs will be, just the inputs that can vary.
Edit2: I'll probably map all the outputs in a dict and see if the input string contains one of the keys. Probably not the most efficient way but it will do