title: Float required Error while using logarithm
body: <p>Hi I'm getting TypeError and i just don't know why...</p>
  
  <pre><code>x=float(40)
  base=float(10)
  math.log(x, [base])
  
  Traceback (most recent call last):
   File "&lt;string&gt;", line 1, in &lt;fragment&gt;
  TypeError: a float is required
  </code></pre>