samedi 6 février 2021

IndentationError: expected an indented block, come someone with easy answer that we can understand and let us know

INDENTATIONERROR: he guy's i am getting this error again and again i did not understand it's answer let me know which answer is right! i am getting this error in pygame by using nested if statements for event in pygame.event.get():

   if event.type == pygame.QUIT:
        running = False
       
       
   if event.type == pygame.KEYDOWN:

show_image(image_x, image_y) pygame.display.update()

Aucun commentaire:

Enregistrer un commentaire