Python, jak narysować kwadrat
import turtle
for i in range(4):
turtle.forward(40)
turtle.right(90)
Call of Doody
import turtle
for i in range(4):
turtle.forward(40)
turtle.right(90)
# Python program to draw square
# using Turtle Programming
import turtle
skk = turtle.Turtle()
for i in range(4):
skk.forward(50)
skk.right(90)
turtle.done()