import turtle as t
import random
t.bgcolor(0,0,0)
t.hideturtle()
for i in range(50):
x =random.randint(-200,200)
y=random.randint(-200,200)
t.penup()
t.goto(x,y)
t.pendown()
angle=random.randint(0,360)
t.setheading(angle)
r = random.random()
b= random.random()
g= random.random()
t.color(r,g,b)
t.begin_fill()
size=random.randint(10,50)
t.circle(size,180)
t.right(90)
t.circle(size,180)
t.forward(size*2)
t.left(90)
t.forward(size*2)
t.end_fill()
t.speed(0)
t.done()
import turtle as t
import random
t.bgcolor(0,0,0)
t.hideturtle()
for i in range(50):
x =random.randint(-200,200)
y=random.randint(-200,200)
t.penup()
t.goto(x,y)
t.pendown()
angle=random.randint(0,360)
t.setheading(angle)
r = random.random()
b= random.random()
g= random.random()
t.color(r,g,b)
t.begin_fill()
size=random.randint(10,50)
t.circle(size,180)
t.right(90)
t.circle(size,180)
t.forward(size*2)
t.left(90)
t.forward(size*2)
t.end_fill()
t.speed(0)
t.done()