11. python program that draws graphic on screen

PHOTO EMBED

Fri Aug 19 2022 14:47:31 GMT+0000 (Coordinated Universal Time)

Saved by @mwebrania #python

import turtle
import colorsys

t = turtle.Turtle()
s = turtle.Screen()
s.bgcolor('black')
t.speed(0)
n = 36
h = 0
for i in range(360):
    c = colorsys.hsv_to_rgb(h, 1, 0.8)
    h+= 1/n
    t.color(c)
    t.circle(180)
    t.left(10)
content_copyCOPY