"""蓝色的扫把""" import turtle from random import randint screen = turtle.getscreen() screen.title("python蓝色的扫把") screen.setup(480,480) screen.mode("logo") turtle.ht() turtle.bk(50) turtle.pensize(1) turtle.pencolor("blue") turtle.goto(0,-50) turtle.color("brown") turtle.pensize(5) turtle.setheading(0) turtle.fd(200) turtle.color("blue") turtle.penup() turtle.goto(0,180) turtle.write("蓝色的扫把by李兴球",font=("",12,"italic"),align='center') screen.mainloop()
如需要查看完整代码,请
需要浏览更多吗?
成为会员后,登陆才能继续浏览!联系微信scratch8即可办理会员。
(会员专属:能浏览所有文章,下载所有带链接的Python资源。)