0
What is wrong
import turtle import colorsys as cs turtle.setup(800,2003 turtle.speed(0) turtle.(10) turtle.width (2) turtle.bgcolor("black") for i in range(25): for i in range(15): turtle .color(cs.hsv_to_rgb(i15,5/25,1)) turtle .right(90) turtle .circle(200-j*4,90) turtle .left(90) turtle .circle(200-j*4,90) turtle .right(180) turtle .circle(50,24) turtle .hideturtle() turtle .done()
1 Answer
+ 1
import turtle
import colorsys as cs
turtle.setup(800,2003)
turtle.speed(0)
turtle.height(10)
turtle.width(2)
turtle.bgcolor("black")
x = range(25,16)
for i in x:
turtle .color(cs.hsv_to_rgb(i15,5/25,1))
turtle .right(90)
turtle .circle(200-j*4,90)
turtle .left(90)
turtle .circle(200-j*4,90)
turtle .right(180)
turtle .circle(50,24)
turtle .hideturtle()
turtle .done
I have try myself and I check it all the errors gone now it gives import tkinter as tk
Maybe it's helpful for a bit.