Commit 64974635 by BellCodeEditor

auto save

parent 4ea37e4a
Showing with 16 additions and 2 deletions
......@@ -13,4 +13,18 @@ for i in range(300):
pen.right(121)
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
\ No newline at end of file
turtle.done()
for 循环:
有限次循环, 强调的是循环次数
循环次数 range() 范围 range(范围的起始位置 , 范围的终止位置+1 , 步长)
循环次数怎么算:终止位置+1 - 起始位置
range(5,10) 循环几次:5
一般情况。起始位置默认为0 ,终止位置,默认为循环次数 range(0,300) 300 0-299
\ No newline at end of file
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