How to draw a circle in PyGame?
问题 Hi i am haveing some problem with drawing a circle ERROR: "'module' object has no attribute 'circl'" what am I dooing wrong? And also how can I put numbers in circles? ex: (first click is circle with 0 second is circle with 1 and so on) import pygame WHITE = (255, 255, 255) BLUE = ( 0, 0, 255) GREEN = ( 0, 255, 0) RED = (255, 0, 0) TEXTCOLOR = ( 0, 0, 0) (width, height) = (200, 300) running = True def main(): global running, screen pygame.init() screen = pygame.display.set_mode((width, height