Dibujar un corazón en Python
from turtle import * def curvemove(): for i in range(200): right(1) forward(1) color('red','pink') begin_fill() left(140) forward(111.65) curvemove() left(120) curvemove() forward(111.65) end_fill() done()
from turtle import * def curvemove(): for i in range(200): right(1) forward(1) color('red','pink') begin_fill() left(140) forward(111.65) curvemove() left(120) curvemove() forward(111.65) end_fill() done()
¿Cómo escribes texto dentro?
ResponderBorrar