SyntaxError: multiple statements found while compiling a single statement
Cai Gengyang
gengyangcai at gmail.com
Sat Oct 8 02:02:01 EDT 2016
Any idea how to correct this error ? Looks fine to me ....
>>> rect_x = 50
# -------- Main Program Loop -----------
while not done:
for event in pygame.event.get(): # User did something
if event.type == pygame.QUIT: # If user clicked close
done = True # Flag that we are done so we exit this loop
SyntaxError: multiple statements found while compiling a single statement
Thanks ...
More information about the Python-list
mailing list