so this is exactly what I wrote in vs code
import pygame
WIDTH, HEIGHT = 600, 500
WIN = pygame.display.set_mode((WIDTH, HEIGHT))
running = True
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
I get the error Module 'pygame' has no 'QUIT' member there is an error in if statement
if event.type == pygame.QUIT:
its pygame.QUIT