This is the code I'm trying to run in Sublime Text 3 for Windows 64-bit:
import time
print ("First to 21 is the winner,")
i=0
while i<21:
    print("you may say",i+1,"or",i+2)
    j=int(input("You say "))
    if j<i+1 or j>i+2:
        print ("You cheated,",)
    else:
        print ("I must say",j+1,"or",j+2,"hmmm...")
        time.sleep(2)
        i=i+3          
        print ("I say",i,)
print ("and I am the winner!")
print ("Had you won, the prize was a golden ruby laser!!")
This is the error message I get:
You say Traceback (most recent call last):
  File "C:\Users\Arvid\Documents\Grupdat\Lab3\test.py", line 7, in <module>
    j=int(input("You say "))
EOFError: EOF when reading a line
Is there an explanation to this problem and how can I avoid it?