
Python绘制皮卡丘3.py
5星
- 浏览量: 0
- 大小:None
- 文件类型:None
简介:
本代码使用Python编程语言和turtle图形库绘制经典动画角色皮卡丘,适合对Python感兴趣的初学者练习和学习。
用Python画皮卡丘,喜欢皮卡丘的朋友们速来!以下是部分代码:
```python
from turtle import *
screensize(650, 500, yellow)
setup(800, 550)
penup()
goto(-185, 65)
pendown()
pensize(5)
color(black)
begin_fill()
circle(50, 360)
end_fill()
penup()
goto(-210, 110)
pendown()
pensize(5)
color(white)
begin_fill()
circle(20, 360)
end_fill()
```
全部评论 (0)
还没有任何评论哟~


