Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- POUR EN SAVOIR PLUS, CLIQUEZ SUR LE LIEN http://bit.ly/30KUXbX
- local r = tonumber(io.read())
- function par()
- for i = 0, r, 1 do
- turtle.forward()
- end
- turtle.placeDown()
- turtle.turnLeft()
- turtle.turnLeft()
- for i = 0, r, 1 do
- turtle.forward()
- end
- turtle.turnLeft()
- end
- function dia()
- for i = 0, math.floor(r*math.sqrt(2)/2), 1 do
Add Comment
Please, Sign In to add comment