奇点星程
开始Python编程
彩球飘飘
作者:奇点星程
运行
清除
全屏运行
终端打印输出区
作品说明
点赞(0)
收藏 (0)
浏览量(372)
改编作品
我也要学编程
留 言
关于我们
奇点星程简介
用户协议
奇点星程官网
OJ平台
联系我们
微信:18065871965
邮箱:qidianxingcheng@163.com
建议反馈
软件下载
Scratch电脑版
Scratch安卓版
Python3.8
Dev-C++
管理平台
机构平台
校区平台
教师平台
©2017-2024. LLC. All RIGHTS RESERED.奇点星程
闽ICP备20003449号
闽公网安备35040302610058号
import turtle import random turtle.colormode(255) turtle.speed(0) for i in range(20): red=random.randint(1,255) green=random.randint(1,255) blue=random.randint(1,255) turtle.color(red,green,blue) x=random.randint(-300,300) y=random.randint(-100,200) turtle .penup() turtle.goto(x,y) turtle.pendown () turtle.begin_fill() turtle.circle(30) turtle.end_fill() turtle.color('black') turtle.right(90) turtle.forward(30) turtle.left(90)