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()
```
Nesta página do site você pode assistir ao vídeo on-line ISRAEL Flag using python turtle library duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Shrikant Chambhare 04 Março 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 627 vezes e gostou 10 espectadores. Boa visualização!