Commit 59f7c2a4 by BellCodeEditor

save project

parent 04c68127
Showing with 5 additions and 10 deletions
"""
请使用turtle模块画出五角星
"""
import turtle
pen=turtle.Pen()
for i in range(5):
pen.forward(200)
pen.right(144)
pen.hideturtle()
turtle.done()
with open(r'C:\Users\gg\Desktop\book.txt','a',encoding='utf-8') as file1:
file1.write('小兰:8本\n')
file1.write('小强:12本\n')
file1.write('李明:15本\n')
\ 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