This is good code!
BeratKaya (0)

import pygame

pygame.init()
width, height = 800, 600
backgroundColor = 255, 0, 0

screen = pygame.display.set_mode((width, height))

while True:
screen.fill(backgroundColor)
pygame.display.flip()

You are viewing a single comment. View All
ChezCoder (1281)

your in the wrong language, you need to choose Pygame instead of Python when creating a new repl for this code to work