Pattern 3 : Created Using Python Turtle Module | Drawing Sun | Python Graphics |

Veröffentlicht am: 21 Juni 2020
auf dem Kanal: Chipnut
982
14

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


Auf dieser Seite können Sie das Online-Video Pattern 3 : Created Using Python Turtle Module | Drawing Sun | Python Graphics | mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Chipnut 21 Juni 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 982 Mal angesehen und es wurde von 14 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!