I'm trying to draw x amount of circles in random positions on a screen, which have no intersections.
My expected results: x amount of circles are drawn to random positions on the screen.
like in this beautiful diagram I drew in paint

Actual results: I get one circle being drawn at a new random position every time the program loops.
Code I have tried so far:
import pygame
import random
def draw_food(screen,color,x,y,radius):
'''This function draws/creates the food sprite, The screen variable tells the food what screen to be drawn to. the color variable sets the color the radius variable sets how large of a circle the food will be.'''
pygame.draw.circle(screen,green,(x,y),radius)
pygame.init()
width = 800
height = 600
screen = pygame.display.set_mode((width,height))
white = (255, 255, 255)
green = (0, 255, 0)
running = True
# main program loop
while running:
# Did the user click the window close button?
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
# Fill the background with white
screen.fill((white))
# Draw the food
draw_food(screen,green,random.randint(0,width),random.randint(0,height),20)
# Flip the display
pygame.display.flip()
I did look at other similar questions but all the ones I could find were for a different Programing language or to different to be useful. I am also a beginner at python and pygame.