Commit eac79a45 by BellCodeEditor

auto save

parent 0c443e4a
Showing with 3 additions and 23 deletions
c=1 import turtle
while True: pen=turtle.pen()
print('c的值为:'+str(c)) pen.leftO(45)
if c==5:
c+=1
continue
if c==10:
break
c+=1
print('结束')
\ No newline at end of file
import turtle
Pen1=turtle.Pen()
Pen1.left(45)
Pen1.forward(80)
Pen1.left(90)
Pen1.circle(40,180)
Pen1.left(180)
Pen1.forward(80)
Pen1.left(-90)
Pen1.circle(-40,180)
turtle.done()
\ 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