Share your repls and programming experiences

← Back to all posts
How to draw a square
lakshmilakshmi (3)

The code for drawing a square in Repl.it

import turtle
squ=turtle.Turtle()
squ.forward(100)
squ.right(90)
squ.forward(100)
squ.right(90)
squ.forward(100)
squ.right(90)
squ.forward(100)