HELLO GUYS,
HERE WE WILL LEARN HOW TO CREAT A SIMPLE SQUARE USING TURTLE IN PYTHON & LEARN TO FILL COLOR IN IT
=============================================================
LINK OF LAST VIDEO :-
• how to make flower type circle spiral with...
=============================================================
LINK OF MY BACKGROUND MUSIC:-
/ wearefrequency
=============================================================
import turtle # turtle library imported
t = turtle.Turtle() # here we are creating a turtle object
t.speed(3) # we have defined speed for our turtle pointer
t.pensize(3) # we have defined size for our turtle pointer
t.color("cyan") # we have defined color for our turtle pointer
wn = turtle.Screen() # wn is windows which is accepted as screen of turtle
wn.bgcolor("black") # windows background color is black
t.begin_fill() # we are starting to fill color
t.fillcolor("yellow") # we have filled color yellow
for i in range(4): # for loop for repeating block 4 times
t.fd(100) # command for turtle to go 100 pixels forward
t.lt(90) # command for turtle to turn 90 degree left
t.end_fill() # we are stopping turtle to fill yellow color
turtle.done() # command to keep screen visible
============================================================
guys if this code does'nt work ,remove t. from everywhere
ex:-remove t. from (t.fd)
after removing it will be:- fd(100)
============================================================
guys you can even use different color and different size(in px) as you wish
============================================================
THANK YOU VIEWERS FOR WATCHING MY VIDEO😃😃👍
============================================================
DO LIKE IF REALLY ENJOYED👍👍😃😃
============================================================
PLEASE SUBSCRIBE AND GIVE THUMBSUP TO CHANNEL AND DONT
FORGET TO CLICK BELL ICON
Nesta página do site você pode assistir ao vídeo on-line HOW TO MAKE SQUARE USING TURTLE IN PYTHON || EXPLAINED PROPERLY duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário code with PK 26 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 153 vezes e gostou 22 espectadores. Boa visualização!