ISRAEL Flag using python turtle library

Publicado el: 04 marzo 2023
en el canal de: Shrikant Chambhare
627
10

Hi guys,
this video shows how to create Israel flag as per standards. If you have questions leave a comment.

Here is the code:
```
import turtle

turtle.bgcolor("black")

t = turtle.Turtle()
t.pensize(1)

draw big rectangle 220 * 160
and fill the while color
t.setposition(-110, 80)
t.color("white")
t.fillcolor("white")
t.begin_fill()
for _ in range(2):
t.forward(220)
t.right(90)
t.forward(160)
t.right(90)
t.end_fill()
t.setposition(-110, 65)


t.color("blue")
t.hideturtle()
t.speed("fastest")

create another turtle and do same operations
k = turtle.Turtle()
k.pensize(1)
k.color("blue")
k.speed("fastest")
k.penup()
k.hideturtle()
k.setposition(-110, -40)
k.pendown()

for _ in range(25):
t.forward(221)
t.right(90)
t.penup()
t.forward(1)
t.right(90)
t.forward(221)
t.right(180)
t.pendown()

k.forward(221)
k.right(90)
k.penup()
k.forward(1)
k.right(90)
k.forward(221)
k.right(180)
k.pendown()

draw the star

t.penup()
t.pensize(6)
t.setposition(-24, -18)
t.pendown()
t.speed(2)

for _ in range(3):
t.forward(60)
t.left(120)

t.penup()
t.pensize(6)
t.setposition(-24, 18)
t.pendown()
t.speed(2)

for _ in range(3):
t.forward(60)
t.right(120)


turtle.done()
```


En esta página del sitio puede ver el video en línea ISRAEL Flag using python turtle library de Duración hora minuto segunda en buena calidad , que subió el usuario Shrikant Chambhare 04 marzo 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 627 veces y le gustó 10 a los espectadores. Disfruta viendo!