@sivaraman8442

import turtle
import colorsys
t = turtle.Turtle()
s = turtle.Screen().bgcolor('black')
t.speed(0)
n = 70
h = 0
for i in range(360):
    c = colorsys.hsv_to_rgb(h, 1, 0.8)
    h+= 1/n
    t.color(c)
    t.left(1)
    t.fd(1)
    for j in range(2):
        t.left(2)
        t.circle(100)

@XShadowNinjaX_official

It was cool but when I used it it gave me another shape but that was cool to!

@Cuber1771

For anyone having an AttributeError, I have a solution. 

If it’s in line 3, capitalize the t at the start of the second turtle like this: 
t = turtle.Turtle() and make sure to put the parenthesis’s at the end

If it’s in line 4, there’s two possibilities. First, u forgot the parenthesis after screen
Second, u didn’t capitalize the S in screen. 
Line 4 should be:
s = turtle.Screen().bgcolor(‘black’)


Hope that helped!
If u have any other problems send the error message and I will try to help

@SaranshJain-f7p

Thank you so much for this!

@Triplle..m

thanks man ,,,i was trying to figure out what was wrong

@DeletedChip

If you go to the speed code and change it to 100-500 it goes faster! Well faster in printing,Hope this helps for someone that wants SPEED😎

@Dineshkumar-ro5qv

Amazing i just tried ❤

@the.travic

thaks worked 👍👍👍👍

@BekBek-my2ru

import  math
from turtle import *
def hearta(k) :
       return 15*math.sin(k)**3
def heartb(k) :
       return 12*math.cos(k)-5*\
              math.cos(2*k)-2*\
              math.cos(3*k)-\
              math.cos(4+k)
speed(1000)
bgcolor("black")
for i in range(6000):
    goto(hearta(i)*20,heartb(i)*20)
    for j in range(5):
        color("#f73487")
    goto(0,0)
done()

@FLUX07

FUIYOH, Nice

@bimlashahi3275

The best one thank you so much❤

@youtubeaccount1718

import colorsys
import turtle

t = turtle.Turtle()  # Add parentheses after turtle.Turtle
s = turtle.Screen().bgcolor('black')
t.speed(0)
n = 70.0  # Use a float value for smoother color transitions
h = 0
for i in range(360):
    c = colorsys.hsv_to_rgb(h, 1, 0.8)
    h += 1/n
    t.color(c)
    t.left(1)
    t.fd(1)
    for j in range(2):
        t.left(2)
        t.circle(100)

@Do_1_fit

Mero tyo vs code me one shot me done hogaya 😂thanks bro🎉

@nirajrajput4811

Thanks man it's working ❤

@wing2392

i have created one by refering to the code, thats really nice

@TheTalkingCatNL

These are easy and cool tutorials for beginners.

@samx_fs

import turtle
import colorsys

# Set up the screen
screen = turtle.Screen()
screen.bgcolor("black")
screen.title("Colorful Spiral Animation")

# Create a turtle object
spiral = turtle.Turtle()
spiral.speed(0)  # Set to the fastest speed
spiral.width(2)  # Set the width of the lines

# Number of colors
num_colors = 36
colors = [colorsys.hsv_to_rgb(i/num_colors, 1, 1) for i in range(num_colors)]

# Draw a colorful spiral
for i in range(360):
    color = colors[i % num_colors]  # Cycle through colors
    spiral.color(color[0], color[1], color[2])  # RGB values
    spiral.forward(i * 2)  # Spiral expands with each step
    spiral.right(59)  # Angle of the turn

# Hide the turtle and display the result
spiral.hideturtle()

# Close the window on click
screen.exitonclick()

@NilimaPradhan-us9se

Due to the growing demand for AI in the industry, I enrolled my child in Moonpreneur’s robotics program to support their education in this field. I’d like to know if this was the right decision.

@AngelaOkeguale

Pls give details on how u did it