Commit cbd36682 by BellCodeEditor

auto save

parent a0fda403
Showing with 15 additions and 7 deletions
# 利用write()帮助悟空给诺依回信吧~
#导入turtle模块
#创建画笔
#用write()方法书写内容
#隐藏画笔
#保存画布
# 导入turtle模块
# 创建背景screen
# 设置背景颜色 light blue
# 创建画笔
# 抬笔
# 移动到(100,-100)
# 用write()方法书写内容
# 隐藏画笔
# 创建变量 len 用textinput方法给它赋值
len=screen.textinput()
# 强制转换len 类型
len=float(len)
#创建新画笔pen1
#设置画笔大小
#设置画笔颜色
#画爱心
#左转45
#移动100
#画半圆
#移动2*len
#画半圆 (len,180)
#右转90
#画半圆
#移动100
......
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