Commit ee207a1a by BellCodeEditor

save project

parent ba5ed019
Showing with 3 additions and 22 deletions
import turtle
sb = turtle.Pen()
sb.pencolor("yellow")
sb.fillcolor("yellow")
sb.begin_fill()
for i in range(36):
sb.forward(200)
sb.right(170)
sb.end_fill()
turtle.done()
\ No newline at end of file
with open(r'C:\Users\Administrator\Desktop\kun.txt','a',encoding='utf-8') as file:
file.write("\n小强:12本、\n李明:15本、")
\ No newline at end of file
import turtle
sb = turtle.Pen()
sb.pencolor("red")
sb.fillcolor("red")
sb.begin_fill()
for i in range(5):
sb.forward(200)
sb.right(144)
sb.end_fill()
sb.hideturtie()
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