Color Circles in Python Using Turtle

 COLOR CIRCLES SOURCE CODE


from turtle import *

speed(0)
bgcolor("black")
pensize(2)

for i in range(6):
    for colours in ["red", "magenta", "blue", "cyan", "green", "yellow", "white"]:
        color(colours)
        circle(100)
        left(10)
        
hideturtle()


OUTPUT:








OUTPUT IMAGE



IN CASE OF ANY DOUBT CONTACT ME THROUGH INSTAGRAM (LINK GIVEN BELOW)

FOLLOW US ON INSTAGRAM FOR MORE PROJECTS AND UPDATES:  https://www.instagram.com/pythonbeginner13/




Comments

Popular Posts