This video shows a pattern. It was created in Python using Turtle module.
It is lot of fun to create these patterns and a minor change in the code gives a different pattern!
Here is the code :
import turtle
screen = turtle.getscreen()
turtle.shape("turtle")
turtle.speed(0)
turtle.pencolor("yellow")
turtle.width(2)
screen.bgcolor("black")
for i in range(100):
turtle.left(115)
turtle.forward(200)
Change the numbers and colours in the above code and see the pattern. Share your pattern with us .
Also don't forget the indentation.
chipnuttech@gmail.com
#Coding #Python #Pattern
Sur cette page du site, vous pouvez voir la vidéo en ligne Pattern 3 : Created Using Python Turtle Module | Drawing Sun | Python Graphics | durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Chipnut 21 juin 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 982 fois et il a aimé 14 téléspectateurs. Bon visionnage!