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(15,65):
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)
circle(45,96)
lt(90)
circle(96,56,98)
fd(100)
turtle.done()
Comments
Post a Comment