@Myself-v3b

From turtle import*
import colorsys
bgcolor("black")
tracer(500)

def draw():
    h=0
    for i in range(75):
        c=colorsys.hsv_to_rgb(h,1,1)
        h+=0.5
        up()
        goto(0,0)
        down()
        color('black')
        fillcolor(c)
        begin_fill()
        rt (98)
        circle(i,12)
        fd (290)
        fd(i)
        lt (29)
        for j in range (129):
            fd(i)
            circle(j,299, steps=2)
        end_fill()
draw()
done()



Hope it's helpful ❤

@Paper_Trader

For loop, nice.

@muhummadluqman8168

Deserves so many views! Great content!

@Navitha-nandu4xh8y

Sir pls describe full video how to run computer graphics project in python

@RealGian01

from turtle import *
import colorsys

bgcolor('black')
tracer(500)

def draw():
    h = 0
    for i in range(100):
        c = colorsys.hsv_to_rgb(h, 1, 1)
        h += 0.01  # Slightly adjusted to avoid rapid color cycling
        up()
        goto(0, 0)
        down()
        color('black')
        fillcolor(c)
        begin_fill()
        rt(98)
        circle(i, 12)
        fd(290)
        fd(i)
        lt(29)
        for j in range(129):
            fd(i)
            circle(j, 299, steps=2)
        end_fill()

draw()
done()

@Amediatv.uz1

from turtle import *
import colorsys
bgcolor ('black')
tracer (500)

def draw():
       h = 0
       for i in range(100):
             c = colorsys.hsv_to_rgb(h,1,1)
              h += 0.5
              up()
              goto(0,0)
              down()
              color('white')
              fillcolor (c)
              begin_fill()
              rt (98)
             circle(i,12)
             fd(i)
             lt (29)
            for j in range(129):
                  fd(i)
                 circle(j, 299, steps=2)
            end_fill()
draw()
done()

@Atlas4020-if9ch

what program was used?

@ZTPlayzofficial

First go to terminal and install turtle and  colorsys 
type pip install turtle for install turtlle and type pip install colorsys for colorsys install after installing modules in your terminal type this code in your python file.
Code:
from turtle import *
import colorsys

bgcolor('black')
tracer(500)

def draw():
    h = 0
    for i in range(100):
        c = colorsys.hsv_to_rgb(h, 1, 1)
        h += 0.01  # Slightly adjusted to avoid rapid color cycling
        up()
        goto(0, 0)
        down()
        color('black')
        fillcolor(c)
        begin_fill()
        rt(98)
        circle(i, 12)
        fd(290)
        fd(i)
        lt(29)
        for j in range(129):
            fd(i)
            circle(j, 299, steps=2)
        end_fill()

draw()
done()

@m.zeeshan_shahi

Wow very cool loop..😊

@musakhanismaiel2844

Thanks I am new student ❤❤❤

@riyagupta_098

Which app is best for practice of python for free in android phone?

@jwstswcks

Which IDE are u using ?

@Techlaptop100k

Bhai kon sa application hai 🙏🙏🙏

@notlinn

I learning python

@TokyoTube_Official

its realy works

@Somethinghhh

I did it .....🎉

@rahatislam5027

from turtle import *
import colorsys

bgcolor("black")
tracer(500)


def draw():
    h = 0
    for i in range(75):
        c = colorsys.hsv_to_rgb(h, 1, 1)  # Get color based on hue
        h += 0.01  # Smaller hue increment for smooth color transition

        up()
        goto(0, 0)  # Move turtle to the center
        down()

        color('black')
        fillcolor(c)  # Set the fill color

        begin_fill()
        rt(98)  # Turn right 98 degrees
        circle(i, 12)  # Draw part of a circle with radius 'i' and extent 12

        fd(290)  # Fixed movement forward (290 units)
        fd(i)  # Dynamic forward movement based on 'i'

        lt(29)  # Turn left 29 degrees

        for j in range(10):  # Reduced inner loop iterations for better control
            fd(2 * i)  # Forward movement based on 'i'
            circle(j, 50, steps=2)  # Draw smaller polygons inside the shape

        end_fill()  # End the fill after the shape is drawn


draw()
done()

@harikishore7472

Thanks for the knowledge 👍🏻

@ShwetaSoni-uq5qv

Nice I have also tried

@Serene.Lo-Fi

Bhai ye phone se hua hai??