Blinking rectangle white pygame with specific frequency
问题 I'm student at university and I have a specific question. Presently I display a white rectangle in center of a window with pygame above a black background. But presently I would like to blinking my white rectangle at a specific frequency, and it's why a I need help. Presently I implement that: import pygame, sys from pygame.locals import * def main(): pygame.init() fenetre = pygame.display.set_mode((500,400),0,32) black=(0,0,0) white=(255,255,255) fenetre.fill(black) pygame.draw.rect(fenetre,