Mathematical expressions with Floating points : <p>Hello I'm a sort of newbie in Python 2.What is the simplest way to take input and print the result of a mathematical expression which has decimals? For some reason i keep getting a syntax error.Here's the code im trying to run to calculate the mean:</p>

<pre><code>a = input()
b = input()
c = input()

print "MEDIA = %.1f\n"%(((a*2)+(b*3)+(c*5))/(10)))
</code></pre>
