Что я тут сделал не правельно? from random import*
from tkinter import*
size = 500
tk = Tk ()
diapasone = 0
my_canvas = Canvas (tk, width=size, height=size)
my_canvas . pack ()
while diapason < 1000
color = choice ( [ 'green', 'red' ] )
x1 = randint (0, size)
y1 = randint (0, size)
d=randint (0, size/5)
my_canvas. create_oval (x1, y1, x1+d, y1+d, fill=color)
tk. update ()
diapason+=1