unexpected EOF while parsing

Author: lizaigaoge550Created Jul 5, 2020Updated Jul 5, 2020

when i excuted "for" code, the error happened

File "", line 1 for i in range(10): ^ SyntaxError: unexpected EOF while parsing

and the code is

for i range(10): print(i)