Commit 15e0985d by BellCodeEditor

save project

parent da87f60a
Showing with 7 additions and 10 deletions
# 悟空想画个六芒星魔法阵,主要的代码已写出,但这有bug,请你帮忙调试下~
import turtle
pen= turtle.Pen()
size=textinput("提示","你想要多大的魔法阵呀?")
pen.circle(size)
pen.circle(size,360,3)
pen.circle(size,60)
pen.circle(size,360,3)
turtle.done()
file=open("C:\\Users\\Administrator\\Desktop\\test.txt",'w',encoding='utf-8')
file.write('小兰:12本')
file.write('小丽:11本')
file.write('李文:19本')
file.write('张伟:16本')
file.close()
\ 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