draw shapes in python code example
Example 1: python turtle square
import turtle
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
Example 2: how to import turtle in python
import turtle