Design Using Python Turtle

 


Source Code

from turtle import*
import random
import turtle
speed(200)
turtle.bgcolor("black")
turtle.begin_fill()
turtle.colormode(255)
R = 0
G = 0
B = 0
for i in range(6,45):
R = random.randrange(0, 257, 10)
B = random.randrange(0, 257, 10)
G = random.randrange(0, 250, 10)
color(R, G, B)
colormode(i)
rt(90)
rt(97)
penup()
rt(99)
circle(35,35,65)
fd(i)
pendown()
circle(45,96,65)
done()

Comments

Popular posts from this blog

Design Using Python Turtle

Design Using Python Turtle

Design Using Python Turtle