Commit 086b13b4 by BellCodeEditor

save project

parent e3a8863f
Showing with 7 additions and 36 deletions
import turtle
pen=turtle.Pen()
pen.left(45)
pen.forward(200)
pen.left(90)
pen.circle(100,180)
pen.left(180)
pen.forward(200)
pen.left(90)
pen.circle(100,-180)
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.psize(50)
pen.circle(25)
pen.circle(25)
pen.circle(25,360)
pen.circle(25,360)
pen.circle(25,360)
pen.hideturtle()
turtle.done()
\ No newline at end of file
with open(r'C:\Users\pc\Desktop\wordbook.txt','r+',encoding='utf-8')as f:
a=f.read()
b=input("今日所学新单词:")
f.write('\n'+b)
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.speed(-10)
colors=["green","red","orange","yellow"]
for i in range(1,1000):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
......
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