< Kurs:KTurtle < Code-Rubrik

Mit diesem Programmcode kannst du...

# draw many squares

learn square X [
  repeat 4 [
    forward X
    turnleft 90
  ]
]

reset
canvassize 400, 400
go 150,200
penwidth 5
hide

repeat 12 [
  penup
  forward 30
  pendown
  square 80
  turnright 30
]
This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.