Commit c56288ab by Patryk Czarnik

turtle - początek

parent cc422940
import turtle
boki = int(turtle.numinput('Pytanie', 'Podaj liczbę boków'))
t = turtle.Turtle()
# TODO narysuj wielokąt foremny o liczbie boków podanej przez użytkownika
turtle.mainloop()
\ No newline at end of file
import turtle
t = turtle.Turtle()
t.forward(300)
t.left(135)
t.forward(450)
t.color('red')
t.width(5)
t.left(90)
t.forward(450)
turtle.mainloop()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment