Syntax to call random function from a list
<p>From this thread:
<a href="http://stackoverflow.com/questions/3998908/how-do-i-perform-a-random-event-in-python-by-picking-a-random-variable">How do I perform a random event in Python by picking a random variable?</a></p>

<p>I learned that it's possible to put some functions into a list, and by using <code>random.choice()</code>, call one of them to generate a random event.</p>

<p>I'm interested in doing this because I'm writing a fairly small text based game as part of a beginner's tutorial.</p>

<p>But when I write what I think will give me the desired result(that is, just one of the functions being called and printing its string:</p>

<pre><code>import random

def func_test_1():
    print "This is func_test_1."

def func_test_2():
    print "This is func_test_2."

def func_test_3():
    print "This is func_test_3."

my_list = [func_test_1(), func_test_2(), func_test_3()]

random.choice(my_list)
</code></pre>

<p>I get this result:</p>

<pre><code>C:\Windows\system32\cmd.exe /c python random_func.py

This is func_test_1.

This is func_test_2.

This is func_test_3.

Hit any key to close this window...
</code></pre>

<p>Which is all three functions being called and printing.</p>

<p>Could someone help me out with the correct syntax to do this?  Thank you.</p>
