Python project | Amazing Pattern using Python Turtle Graphics |Simple Python Turtle Graphics #shorts

preview_player
Показать описание
Python project,Simple Python Turtle Graphics, Amazing beautiful design/pattern using python turtle graphics.
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------

#youtubeshorts
#pythonprojects
#pythonturtle
Рекомендации по теме
Комментарии
Автор

import turtle

def draw_square(some_turtle):
for _ in range(4):
some_turtle.forward(200)
some_turtle.right(90)

def draw_art():
window = turtle.Screen()
window.bgcolor("black")

# Turtle Brad
brad = turtle.Turtle()
brad.shape("turtle")
brad.color("yellow")
brad.speed(6)
brad.pensize(2)

for _ in range(1, 37):
draw_square(brad)
brad.right(10)

window.exitonclick()

draw_art()

stamina_
Автор

The best thing for me is when you combine math and programming

itonly
Автор

Bro I can't the pattern but ite say error 0

abufirnas
welcome to shbcf.ru