title: Must eval be a string or code object?
body: <p>When I run the code below, I get the following error:  eval() arg 1 must be a string or code object</p>
  
  <p>Anyone know why? This is code i'm learning from a book, so I assumed that it would be correct. </p>
  
  <pre><code> # Prompt the user to enter three numbers
  number1 = eval(input("Enter the first number: "))
  number2 = eval(input("Enter the second number: "))
  number3 = eval(input("Enter the third number: "))
  
   # Compute average
  average = (number1 + number2 + number3) / 3
  
  print("The average of", number1, number2, number3, "is", average)
  </code></pre>