What is missing in this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 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()

18th Dec 2022, 1:23 AM
Jeremy John
Jeremy John - avatar
3 Answers
+ 2
Pls don't post the same question twice, neither link unrelated code. https://www.sololearn.com/discuss/3173507/?ref=app
18th Dec 2022, 1:59 AM
Emerson Prado
Emerson Prado - avatar
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()
18th Dec 2022, 1:24 AM
Jeremy John
Jeremy John - avatar
18th Dec 2022, 1:24 AM
Jeremy John
Jeremy John - avatar