title: What is causing the error in this program
body: <p>I am having a bit of trouble with a program that I made. I am not quite sure what the problem is. However, I cannot think of what to search for to solve the problem. Since this is the case, I apologize in advance if this is a duplicate question.</p>
  
  <pre><code># convert.py
  # A program to convert Celsius temps to Fahrenheit
  
  def main():
      print("Hello", end=" ")
      print("this program will convert any 5 different celsius temperatures to fahrenheit.")
      c1, c2, c3, c4, c5 = eval(input("Please enter 5 different celsius temperatures seperated by commas: "))
      print(c1, c2, c3, c4, c5)
      for i in range(5):
          c = ("c" + str(i + 1))
          print(c)
          fahrenheit = 9/5 * c + 32
          print("The temperature is", fahrenheit, "degrees Fahrenheit.")
      input("The program has now finished press enter when done: ")
  
  main()
  </code></pre>
  
  <p>This program works fine up until the Fahrenheit assignment statement on the first loop. I am sure that the problem involves the variables and the most likely incorrect way that I have assigned them. So I would greatly appreciate it if someone could point out what I am doing wrong and why it will not work.</p>