title: How to write this Python for loop as a ternary operator
body: <p>I have the following code: </p>
  
  <pre><code>stuart = 0
  kevin = 0    
  for itr, char in enumerate(word_list):
      if char in "aeiou":
          kevin += len(word_list) - itr
      else:
          stuart += len(word_list) - itr
  </code></pre>
  
  <p>Can I write the if/else statement as a ternary operator? </p>
  
  <p>I tried the following to no avail: </p>
  
  <pre><code>(kevin if (char in "aeiou") else stuart) += len(word_list) - itr
  </code></pre>
  
  <p>and</p>
  
  <pre><code>kevin += len(word_list) - itr if char in "aeiou" else stuart += len(word_list) - itr
  </code></pre>
  
  <p>Is there a way to write this as a ternary operator for more compact code?</p>