title: Unsupported operands for range and float, what am I doing wrong?
body: <p>I'm trying to pass a range of numbers to a function and have that function then give me an array of numbers back. This is my code and the error I've received. 
  I'm brand new to python, so this might be a silly question. 
  <img src="https://i.stack.imgur.com/TwIwp.jpg" alt="This is my snippet of code"></p>