Python精灵模块的randomcolor指令
所有命令
单独命令
屏幕命令
角色命令
角色命令 >> Python精灵模块的randomcolor指令
简介:指定角色随机的画笔与填充颜色。
例子:
from sprites import * bug = Sprite() bug.randomcolor() bug.pendown() bug.fd(100)
writed by lixingqiu
关注"异编程"微信公众号,获取更多关于Python精灵模块的咨讯: