title: Error - unexpected EOF while parsing
body: <p>I am creating a code in a file called python1.py that take two input values and calculates the percentage </p>
  
  <pre><code>var1,var2 = input("Give 2 integers: student mark and then what the test was out of").split() # the requested marks are split by a white space
  var1,var2 = [int(x) for x in [var1, var2]] # this converts the input values to integers
  percentage = round(var1/var2*100) # calculation of the percentage truncating the fractional part
  print("%d out of %d is %d%%" %(var1, var2, percentage))
  </code></pre>
  
  <p>when it is run on an automatic marker it produces the following error:
  Give 2 integers: student mark and then what the test was out of</p>
  
  <pre><code>Traceback (most recent call last):
    File "question1.py", line 1, in 
      var1,var2 = input("Give 2 integers: student mark and then what the test was out of").split() # the requested marks are split by a white space
    File "", line 1
      21 35
          ^
  SyntaxError: unexpected EOF while parsing
  </code></pre>
  
  <p>what can I do to solve the error</p>