How to turn a script into a function
<p>I have a script that I wrote earlier and am now trying to create a main page to run this script and others. I understand I have to turn this into a function then call it when nesicary but I am having some trouble in the function portion. Any help and advice is greatly appreciated. Below is the script I am referencing. </p>

<pre><code>#A Python math script
a = float(raw_input("Enter the first number: "))
b = float(raw_input("Enter the second number: "))

print "Your answer is: ",(a*b)
</code></pre>
