导入turtle库
```python
import turtle
```
创建turtle对象
```python
t = turtle.Turtle()
```
设置填充颜色
```python
t.fillcolor("red") 设置填充颜色为红色
```
开始填充
```python
t.begin_fill()
```
画圆
```python
t.circle(50) 画一个半径为50的圆
```
结束填充
```python
t.end_fill()
```
完整的代码示例如下:
```python
import turtle
创建turtle对象
t = turtle.Turtle()
设置填充颜色
t.fillcolor("red")
开始填充
t.begin_fill()
画圆
t.circle(50)
结束填充
t.end_fill()
隐藏turtle
t.hideturtle()
结束turtle绘图
turtle.done()
```
运行这段代码,将会画出一个半径为50的红色填充圆。你可以根据需要修改`fillcolor`函数的参数来改变填充颜色。