Return to Snippet

Revision: 64893
at October 1, 2013 12:43 by a7xrturo


Initial Code
import turtle

print('Dibujar un pentágono!')
largo = input('De que largo quieres que sea un lado del pentágono? ')
largo = int(largo)
turtle.forward (largo)
turtle.right(60)
turtle.forward(largo)
turtle.right(60)
turtle.forward(largo)
turtle.right (60)
turtle.forward(largo)
turtle.right(60)
turtle.forward(largo)
turtle.right(60)
turtle.forward(largo)
input('Da enter para terminar el programa')

Initial URL

                                

Initial Description
Hacer un pentágono con Turtle

Initial Title
Pentagono Turtle

Initial Tags
python

Initial Language
Python