title: Find the first occurence of a vowel in Python
body: <p>I have a function <code>isvowel</code> that returns either <code>True</code> or <code>False</code>, depending on whether a character <code>ch</code> is a vowel.</p>
  
  <pre><code>    def isvowel(ch):
            if "aeiou".count(ch) &gt;= 1:
                return True
            else:
                return False
  </code></pre>
  
  <p>I want to know how to use that to get the index of the first occurrence of any vowel in a string. I want to be able to take the characters before the first vowel and add them end of the string. Of course, I can't do <code>s.find(isvowel)</code> because <code>isvowel</code> gives a boolean response. I need a way to look at each character, find the first vowel, and give the index of that vowel.</p>
  
  <p>How should I go about doing this?</p>