How to draw a beautiful square pattern using python.#python #pydroid

preview_player
Показать описание
Tutorial to draw a square pattern using python.

Follow the steps to draw.
________________________________________________

code --from turtle import*
clr=('blue','green','yellow','red')
pensize(5)
for r in range(4):
rt(90)
size=100
for n in clr:
color('black',n)
begin_fill()
for j in range(4):
fd(size)
rt(90)
end_fill()
size=size-20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

app used -- Pydroid3
music used -- 2 AM Over Tropical

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

#python #pydroid #pydroid3 #python on android
#drawing #python tutorial
Рекомендации по теме
Комментарии
Автор

I tried your code and it worked very well 🙌🏼🙌🏼🙌🏼

omosheyigodstime
Автор

Like share and subscribe to support the channel and for more content || If you have any doubts plz let me know in the comments

mr_ad
visit shbcf.ru