#sam9934
import turtle as tur
import colorsys as cs
# Setup
tur.setup(800, 600)
tur.speed(0)
tur.bgcolor("black")
tur.hideturtle()
tur.penup()
# Define the text
text = "Hello Saiyam, How are you"
colors = [cs.hsv_to_rgb(i / len(text), 1, 1) for i in range(len(text))]
# Starting position
x, y = -300, 0
tur.goto(x, y)
# Loop through each character
for char, color in zip(text, colors):
tur.color(color)
tur.write(char, font=("Arial", 24, "bold"))
x += 30 # Adjust spacing between characters
tur.goto(x, y)
# Exit on click
tur.exitonclick()