Simple rectangle using python - turtle programming

Опубликовано: 02 Ноябрь 2024
на канале: Adi's Technical Aid
18
4

Simple rectangle using python - turtle programming
#short
#shortvideo
#youtubeshort
#firstyoutubeshort

Code :
import turtle

t = turtle.Turtle()
for _ in range(4):

if _ % 2 == 0:
t.forward(300)
t.left(90)

else:
t.forward(200)
t.left(90)