Question: I am trying to write an error reporting application and would like to keep it as a tray icon for the most part - but the idea is to maximize it with a specific key combination (e.g. "Ctrl+Alt+H", or something like it).

Answer: 
if your question is how to use enumerate, here's an application for your code sample:

```
import random
candidateWords = ['HELLO', 'GOODBYE', 'NAME', 'DAY', 'NIGHT', 'HOUR', 'POTATO', 'BIG', 'SMALL', 'GOOD', 'BAD', 'YES', 'NO', 'HOUSE', 'QUESTION', 'BALLOON', 'CAT', 'DUCK', 'PIGEON', 'POSTER', 'TELEVISION', 'SPY', 'RHYTHM', 'SUBSTANTIAL', 'SNOW', 'MAGNET', 'TOWEL', 'WALKING', 'SPEAKER', 'UNCHARACTERISTICALLY']

s = random.sample (candidateWords, 5)

# loop through the list using enumerate

for index,w in enumerate(s):
    print("word {} out of {} is {}, nb vowels is {}".format(index+1,len(s),w,countVowels(w)))

```

output

```
word 1 out of 5 is NIGHT, nb vowels is 1
word 2 out of 5 is BALLOON, nb vowels is 3
word 3 out of 5 is SUBSTANTIAL, nb vowels is 4
word 4 out of 5 is BIG, nb vowels is 1
word 5 out of 5 is PIGEON, nb vowels is 3

```

Note that you don't have to use enumerate if you don't need the indexes:

```
for w in s:
    print(w,countVowels(w))

```

for your count vowels (since everyone seemed to think this was the question at some point), you can do this, and whether Y is a vowel or not is up to you since it's unclear ([Oxford](http://www.oxforddictionaries.com/words/is-the-letter-y-a-vowel-or-a-consonant))

```
def countVowels(word):
    return sum(word.count(x) for x in "AEIOUY")

```

The generator comp will apply count characters for each vowels in the word, then applies standard sum function.
```
print('Welcome to my English Test App')

#Import the random module to allow us to select the word list and questions at random.

import random

candidateWords = ['HELLO', 'GOODBYE', 'NAME', 'DAY', 'NIGHT', 'HOUR', 'POTATO', 'BIG', 'SMALL', 'GOOD', 'BAD', 'YES', 'NO', 'HOUSE', 'QUESTION', 'BALLOON', 'CAT', 'DUCK', 'PIGEON', 'POSTER', 'TELEVISION', 'SPY', 'RHYTHM', 'SUBSTANTIAL', 'SNOW', 'MAGNET', 'TOWEL', 'WALKING', 'SPEAKER', 'UNCHARACTERISTICALLY']

# places words down in a list
s = random.sample (candidateWords, 5)
for index,w in enumerate(s):
    print(index,w)   #your code have indent problem

```