title: Calculating Logarithms with Python
body: <p>I am trying to calculate logarithms using the math module of python <code>(math.log(x,[base])</code>, however when I use <code>float(raw_input)</code> for the x and base values, it gives me the error, <code>ZeroDivisionError: float division by zero</code>.</p>
  
  <pre><code>x = 9.0
  base = 3.0
  </code></pre>