image_2023-11-04_13-13-31.png
193.1 KB
Code for this design
πππππππ
πππππππ
import turtle
import colorsys
turtle.bgcolor("black")
t = turtle.Turtle()
t.hideturtle()
turtle.tracer (50)
n=2
c=10
for i in range(1200):
p = colorsys.hsv_to_rgb(c, 1, 0.99)
turtle.pencolor (p)
c+=0.002
turtle.circle(-i, n)
turtle.right (100)
turtle.circle(i, c)
turtle.done()
import colorsys
turtle.bgcolor("black")
t = turtle.Turtle()
t.hideturtle()
turtle.tracer (50)
n=2
c=10
for i in range(1200):
p = colorsys.hsv_to_rgb(c, 1, 0.99)
turtle.pencolor (p)
c+=0.002
turtle.circle(-i, n)
turtle.right (100)
turtle.circle(i, c)
turtle.done()
from turtle import *
import turtle as t
def my_turtle():
# Choices
sides = str(3)
loops = str(450)
pen = 1
for i in range(int(loops)):
forward(i * 2/int(sides) + i)
left(360/int(sides) + .350)
hideturtle()
pensize(pen)
speed(30)
my_turtle()
t.done()
import turtle as t
def my_turtle():
# Choices
sides = str(3)
loops = str(450)
pen = 1
for i in range(int(loops)):
forward(i * 2/int(sides) + i)
left(360/int(sides) + .350)
hideturtle()
pensize(pen)
speed(30)
my_turtle()
t.done()
This media is not supported in your browser
VIEW IN TELEGRAM
π Link for source code π
This media is not supported in your browser
VIEW IN TELEGRAM
π Link for source code π
Python Hub
https://drive.google.com/folderview?id=1SkCOcAS0Kqvuz-MJkkjbFr1GSue6Ms6m
Mass Hiring Companies Placement Materials
This media is not supported in your browser
VIEW IN TELEGRAM
π Multiple Starts Design π
Are you looking for a job?
If Yes, try our new website, we actively post new jobs, internships, mass hiring and off campus updates
ππCheck nowππ
https://corporateqna.in/cognizant-hiring-freshers-for-chennai-office/
If Yes, try our new website, we actively post new jobs, internships, mass hiring and off campus updates
ππCheck nowππ
https://corporateqna.in/cognizant-hiring-freshers-for-chennai-office/
π 3 Data Science Projectsπ
Guaranteed to Land you A Job
https://www.kdnuggets.com/3-data-science-projects-guaranteed-to-land-you-that-job
Guaranteed to Land you A Job
https://www.kdnuggets.com/3-data-science-projects-guaranteed-to-land-you-that-job
If you know the basics of Python then you may already be using modules, to know more about the modules in Python, check our latest post π
https://www.instagram.com/p/C-2CqAOyrrf/?igsh=bjZzbmduNHU5NTQx
https://www.instagram.com/p/C-2CqAOyrrf/?igsh=bjZzbmduNHU5NTQx