title: How to properly use a list in a function to that would work on all inputs
body: <p>I am trying to create a small program that will print out the next fibonacci numbers. </p>
  
  <p>For example, if I use <code>[0,1,1]</code>, the fibonacci numbers would be <code>[1,1,2]</code>. If I try <code>[5,8,21]</code>, it would print <code>[8,13,34]</code></p>
  
  <p>I can't figure out how to create the loop. </p>
  
  <pre class="lang-py prettyprint-override"><code>def numberz(lst):
      a = lst*(1+sqrt(5))/2.0
      return [round(a) for number in lst]
  
  test=[5,8,11]
  print(numberz(test))
  </code></pre>
  
  <p>It gives me a: </p>
  
  <blockquote>
    <p>TypeError: can't multiply sequence by non-int of type 'float'.</p>
  </blockquote>