Python
使用turtle库绘制爱心:
```python
import turtle
def draw_heart():
penup()
goto(0, -100)
pendown()
color('red')
begin_fill()
setheading(150)
circle(200, 90)
left(90)
circle(200, 90)
end_fill()
hideturtle()
draw_heart()
turtle.done()
```
JavaScript
使用HTML5 Canvas绘制爱心:
```html