from turtle import *
setup(600,600,0,0)
#hideturtle()
speed(1)
pensize(10)
pencolor("blue")
penup()
goto(100,-100)
pendown()
pencolor("RED")
goto(100,100)
goto(-100,100)
goto(-100,-100)
goto(100,-100)
penup()
home()
pendown()
pencolor("purple")
circle(50)
goto(-100,-100)
home()
goto(100,-100)
home()
goto(100,100)
home()
goto(-100,100)
goto(0,100)
goto(0,200)
goto(-100,100)
goto(0,200)
goto(100,100)
goto(-100,-100)
goto(0,-200)
goto(100,-100)
goto(200,0)
goto(100,100)
goto(-100,100)
goto(-200,0)
goto(-100,-100)
goto(0,-200)
pencolor("blue")
circle(200,20)
pencolor("RED")
circle(200,20)
pencolor("purple")
circle(200,20)
pencolor("black")
circle(200,20)
pencolor("yellow")
circle(200,20)
pencolor("brown")
circle(200,20)
pencolor("orange")
circle(200,20)
pencolor("cyan")
circle(200,20)
pencolor("green")
circle(200,20)
pencolor("red")
circle(200,20)
pencolor("brown")
circle(200,20)
pencolor("yellow")
circle(200,20)
pencolor("blue")
circle(200,20)
pencolor("purple")
circle(200,20)
pencolor("cyan")
circle(200,20)
pencolor("black")
circle(200,20)
pencolor("orange")
circle(200,20)
pencolor("purple")
circle(200,20)
goto(-200,-200)
goto(-200,0)
goto(-200,200)
goto(0,200)
goto(200,200)
goto(200,0)
goto(200,-200)
goto(0,-200)
done()
Barco:
from turtle import * setup(600,600,0,0) #hideturtle() speed(100) pensize(10) pencolor("blue") goto(100,0) goto(75,-30) goto(0,-30) goto(-25,0) home() goto(0,100) goto(40,75) goto(0,75) done()
No hay comentarios:
Publicar un comentario