Python Turtle - Code a Star Tutorial

Опубликовано: 15 Март 2020
на канале: Geek Tutorials
27,538
154

Learn how to quickly and easily draw a star using the Turtle module in Python.

If you would like to rotate the star so it looks "normal", simply change the line of code that says left(144) to right(144).

⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! https://www.kite.com/get-kite/?utm_me...

~ CODE ~

from turtle import *

for i in range(5):
forward(200)
right(144)

hideturtle()


На этой странице сайта вы можете посмотреть видео онлайн Python Turtle - Code a Star Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Geek Tutorials 15 Март 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 27,538 раз и оно понравилось 154 зрителям. Приятного просмотра!