Exemplo n.º 1
0
def ornament(x, y):
    turtle.penup()
    turtle.goto(x, y)
    turtle.pencolor(Color.RED)
    turtle.pendown()
    turtle.dot(7)
    turtle.penup()
Exemplo n.º 2
0
import board
from adafruit_turtle import turtle

print("Turtle time! Lets draw a square with dots")

turtle = turtle(board.DISPLAY)
turtle.pendown()

for _ in range(4):
    turtle.dot(8)
    turtle.left(90)
    turtle.forward(25)

while True:
    pass
def vert(x, y, size):
    turtle.goto(x, y)
    turtle.dot(size)