Commit 3fd794ae by BellCodeEditor

auto save

parent cccb60f4
Showing with 6 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
#导入库 #导入库
import turtle import turtle
#创建屏幕
screen=turtle.Screen()
#添加背景颜色
screen.bgcolor("light pink")
#创建画笔 #创建画笔
p=turtle.Pen() p=turtle.Pen()
p.penup()
p.goto(100,-100)
#回复内容 #回复内容
p.write(" 春眠不觉晓,\n 处处闻啼鸟。\n 夜来风雨声,\n 花落知多少。",font=("宋体",30,"bold")) p.write(" 春眠不觉晓,\n 处处闻啼鸟。\n 夜来风雨声,\n 花落知多少。",font=("宋体",30,"bold"))
#隐藏画笔 #隐藏画笔
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment