Hello<br><br>I need some help for a program I am writing as a newbie to Python.<br><br>I have created a series:<br><br><span style="font-weight: bold;">WORDS = (&quot;python&quot;, &quot;program&quot;, &quot;code&quot;, &quot;xylophone&quot;)
</span><br><br>and then assigned one of them randomly to the variable 'word':<br><br><span style="font-weight: bold;">word = random.choice(WORDS)</span><br><br>I know that if I do:<br><br><span style="font-weight: bold;">
print word</span><br><br>The randomly chosen word will be displayed. I also know that if I type:<br><br><span style="font-weight: bold;">print WORDS[x]</span><br><br>I will get the corresponding word back. But how do I find 'programaticaly' the index number for the string that 
random.choice has chosen?<br><br>The reason I ask is that I an writing a simple word jumble game and need to link the randomly chosen word to a hint should the user need one.<br clear="all"><br>-- <br>Best Regards<br><br>
Jon Moore