欢迎光临散文网 会员登陆 & 注册

画名言代码

2021-08-08 12:16 作者:Gugyvyftxtcy  | 我要投稿

import turtle

turtle.penup()

turtle.goto(-400,0)

turtle.write("Life  is  a  leaf  of  paper  white, thereon  each  of  us  may  write  his  word  or  two. ",font=("Pristina",25,"normal"))

turtle.goto(-410,-45)

turtle.write("生活是一张白纸,每个人都在上面写上自己的一两句话。",font=("方正舒体",26,"normal"))

turtle.hideturtle()

turtle.done()


画名言代码的评论 (共 条)

分享到微博请遵守国家法律