Commit 0b95290c by BellCodeEditor

auto save

parent 3515f1dd
Showing with 14 additions and 2 deletions
name="我们一起出去玩呀哈哈哈哈哈"
for i in name:
print(i)
\ No newline at end of file
# 我们都爱夸夸夸
\ No newline at end of file
import turtle #创建画布
pen=turtle.Pen()#创建画笔pen
pen.fillcolor("red")#填充颜色
pen.begin_fill()#填充开始
for i in range(5):#重复循环5次 注意别忘了冒号和循环体要按以下tab键
pen.forward(100)#画笔移动100
pen.right(144)#画笔右转 pen.left()左转
pen.hideturtle()#隐藏画笔
pen.end_fill()#填充结束
turtle.done()保存画布
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