import turtle as tt def turtle_01(): """Draw a square""" # Settings tt.bgcolor("black") tt.color("magenta") tt.speed(2) # Square tt.forward(100) tt.right(90) tt.forward(100) tt.right(90) tt.forward(100) tt.right(90) tt.forward(100) tt.exitonclick()