It would be interesting to know if str.count("aeiouAEIOU") was faster, or if reordering the letters to try to get the most likely match first was better – e.g. str.count("eiaouEIAOU")
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It would be interesting to know if
str.count("aeiouAEIOU")was faster, or if reordering the letters to try to get the most likely match first was better – e.g.str.count("eiaouEIAOU")