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

Опубликовано: 21 Июнь 2020
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Pattern 3 : Created Using Python Turtle Module | Drawing Sun | Python Graphics | длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Chipnut 21 Июнь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 982 раз и оно понравилось 14 зрителям. Приятного просмотра!