for position in snack_list:
print(position)
if event.type == pygame.KEYDDWN:
if event.key == pygame.K_UP:
direction='up'
if event.key == pygame.K_DOWN:
direction='down'
if event.key == pygame.K_LEFT:
direction='left'
if event.key == pygame.K_RIGHT:
direction='right'