SyntaxError: multiple statements found while compiling a single statement
khushi27gkcse at gmail.com
khushi27gkcse at gmail.com
Sun Sep 24 07:13:27 EDT 2017
On Saturday, October 8, 2016 at 11:32:17 AM UTC+5:30, Cai Gengyang wrote:
> 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