import turtle turtle.screensize(800,600,"purple") stuname = turtle.textinput("输入文字对话框","请输入要旋转的文字:") mycolors = ["green","red","blue","yellow"] for x in range(80) : turtle.pencolor(mycolors[x % 4]) turtle.penup turtle.forward(x * 4) turtle.down() turtle.write(stuname,font=("Arial",int((x+4) /4),"bold")) turtle.left(93)
初级程序员
by: xiaoXYyao 发表于:2022-04-04 19:10:45 顶(1) | 踩(0) 回复
真好玩
网友回复
回复minecraft : 作者一个五年级小学生,自己琢磨的
顶(0) 踩(0) 2022-04-09 12:15:36
回复评论