Some cool design using python programming || Python Program to make different shape || Python

come code
Jan 5, 2022

--

import turtle

import colorsys

t = turtle.Turtle()

s = turtle.Screen()

s.bgcolor(‘black’)

t.speed(0)

n = 50

h=0

for i in range(360):

c = colorsys.hsv_to_rgb(h,1,0.8)

h += 1/n

t.color(c)

t.forward(i*2)

t.left(145)

--

--

come code
come code

Written by come code

I write blog on programming and computer science.

No responses yet