title: Python typeError: can't multiply sequence by non-int of type 'float'
body: <p>I have this code</p>
  
  <pre><code>a = [0.0, 1.1, 2.2]
  b = a * 2.0
  </code></pre>
  
  <p>and that is where I get the error  </p>
  
  <pre><code>typeError: can't multiply sequence by non-int of type 'float'
  </code></pre>
  
  <p>what I want it to <code>return</code> is </p>
  
  <pre><code>b = [0.0, 2.2, 4.4]
  </code></pre>