Nauč se Python > Kurzy > Beginners course PyLadies > Functions > Turtle and loops

Turtle and loops – Řešení [2]

from turtle import forward, left, exitonclick

forward(50)
left(90)
forward(50)
left(90)
forward(50)
left(90)
forward(50)
left(90)

left(20)

forward(50)
left(90)
forward(50)
left(90)
forward(50)
left(90)
forward(50)
left(90)

left(20)

forward(50)
left(90)
forward(50)
left(90)
forward(50)
left(90)
forward(50)
left(90)

exitonclick()

Toto je stránka lekce z kurzu, který probíhá nebo proběhl naživo s instruktorem.