Draw a color changing circle :Python Beginner

You can easily draw a circle and make it continuously change its color using a simple python program.Python installation will be familiar to you all or else refer to my previous blog post https://aweigh.family.blog/2019/06/06/turtle-race-game-python-beginner/

So lets draw a circle

Code:

from turtle import*
speed(0)
goto(0, 0)
for step in range(2):
mut = Turtle()
mut.color('red')
mut.shape('circle')
mut.circle(100,360)
mut.penup()
mut.goto(0, 0)
mut.pendown()
mut.right(180)
mut.color('Magenta')
mut.shape('circle')
mut.circle(100, 360)
mut.color('Green')
mut.shape('circle')
mut.circle(120, 360)

Output :

Watch the working vedio in https://youtu.be/3W-UEl17vlI

One response to “Draw a color changing circle :Python Beginner”

Leave a Reply

Create your own website, free on WordPress.com.Create your own website.
Start free