:
if event.key == pygame.K_LEFT and event.type == pygame.KEYDOWN and not event.key==pygame.K_DOWNif event.key == pygame.K_LEFT and event.type == pygame.KEYDOWN and event.key == pygame.K_UP:= pygame.KEY
while turnoff == False: screen.fill(white)# event checksfor event in pygame.event.get(): if event.type == pygame.QUIT: elif event.type== pygame.MOUSEBUTTONDOWN:
#supposed to identify which key but ca