while True:
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
sys.exit()
ball.x += ball_speed_x #This line is unreachable
ball.y += ball_speed_y
It doesn't matter what I type in that line, everything is unreachable. How to fix it?