Commit 15e0985d by BellCodeEditor

save project

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