Commit 66a827db by BellCodeEditor

save project

parent 9c4fa246
Showing with 33 additions and 7 deletions
# 下面的这段代码一共有5处错误,每一行都有一种典型的语法错误,请修改~
for i in range(1,8)
print'克洛诺斯将第' + str(i) + '个孩子吞进肚子里'
if i = 5:
break
print('第6个孩子宙斯逃过一劫。)
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(177,112)
pen.pencolor("lightgray")
pen.pensize(3)
pen.fillcolor("white")
pen.begin_fill()
pen.pendown()
pen.setheading(80)
pen.circle(-45,200)
pen.circle(-300,23)
pen.end_fill()
pen.penup()
pen.goto(182,95)
pen.pencolor("black")
pen.pensize(1)
pen.fillcolor("black")
pen.begin_fill()
pen.setheading(95)
pen.circle(-37,160)
pen.circle(-20,50)
pen.circle(-200,30)
pen.pendown()
pen.end_fill()
pen.hideturtle()
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