- 1
What is missing in this code
from turtle import * import colorsys bgcolor('black') speed(0) pensize(3) hue = 0.0 for i in range(300): color = colorsys.hsv_to_rgb(hue,1,1) pencolor(color) hue += 0.005 right(i) circle(50,i) forward(i) left(91) done()
3 ответов
+ 2
Pls don't post the same question twice, neither link unrelated code.
https://www.sololearn.com/discuss/3173507/?ref=app
0
from turtle import *
import colorsys
bgcolor('black')
speed(0)
pensize(3)
hue = 0.0
for i in range(300):
color = colorsys.hsv_to_rgb(hue,1,1)
pencolor(color)
hue += 0.005
right(i)
circle(50,i)
forward(i)
left(91)
done()