title: Float error when writing Celsius-Fahrenheit converter (Zelle)
body: <p>I'm currently learning Python from Zelle's book, and wrote the following Celsius to Fahrenheit converter. It works without issue:</p>
  
  <pre><code>print("This program will convert Celsius to Fahrenheit")
  c = eval(input("Input the temperature in Celsius: "))
  for i in range(10):
      f = c * (9/5) + 32
      print(f)
  </code></pre>
  
  <p>Zelle asks to later adapt this so that every ten degrees from 0 to 100 Celsius are converted to Fahrenheit, and set on top of one another like columns. I wrote it like this:</p>
  
  <pre><code>print("This program will do 10 temperature conversions.")
  c = [0,10,20,30,40,50,60,70,80,90,100]
  f = c * (9/5) + 32
  for i in range(1):
      print(c)
  for i in range(1):
      print(f)
  </code></pre>
  
  <p>I get the following errors:</p>
  
  <p>1) If I leave it as is, the error states: "line 63, in fourthprogram
      f = c * (9/5) + 32  TypeError: can't multiply sequence by non-int of type 'float'"</p>
  
  <p>2) If I change (9/5) to another number, like 2, the error states: "line 63, in fourthprogram
      f = c * 2 + 32
  TypeError: can only concatenate list (not "int") to list"</p>
  
  <p>So, there's a couple of things going on here that I can't quite figure out. The "float" error, according to other answers on Stack Overflow, often relate to variables treated as strings, but it looks like the variables are given a numerical value here. The other error, I tried rewriting the list in the options given by Zelle in Ch 2 and prior, but it's not helping.</p>
  
  <p>How do I deal with this float error, specifically, and other more complex float errors in the future?</p>
  
  <p>Zelle has answers up on his website, but I'd like to know why my code doesn't work as written.</p>
  
  <p>Thank you.</p>