import pygame, sys
from pygame.locals import *
pygame.init()
screen=pygame.display.set_mode((640,360),0,32)
while True:
for event in pygame.event.get():
if event.type == QUIT:
pygame.quit()
sys.exit()
screen.lock()
pygame.draw.rect(screen, (140,240,130), Rect((100,100),(130,170)))
screen.unlock()
pygame.display.update()
它应该在 640x360 窗口中显示一个 retangle,但它不这样做,我不知道为什么它不这样做。请帮我。