import pygame
import sys
import random
import time
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
GRAY = (125, 125, 125)
LIGHT_BLUE = (64, 128, 255)
GREEN = (0, 200, 64)
YELLOW = (225, 225, 0)
PINK = (230, 50, 230)
pygame.display.init()
disp = pygame.display.set_mode((600,600))
for x in range(0,300,1):
pygame.draw.line(disp, WHITE, (0,0), (600,x), 1)
pygame.display.update()
pygame.time.wait(50)
print(x)
pygame.display.quit()
pygame.quit()
test--> 295
test--> 296
test--> 297
test--> 298
test--> 299
не за что все изначально работало