Commit 14ffe2ce by BellCodeEditor

auto save

parent b7993554
Showing with 19 additions and 12 deletions
# 悟空想画个六芒星魔法阵,主要的代码已写出,但这有bug,请你帮忙调试下~ # xs1={'语文':100,'数学':93,'英语':85}
import turtle # xs2={'语文':90,'数学':92,'英语':86}
# xs3={'语文':80,'数学':91,'英语':83}
# chengji={'张三':xs1,'李四':xs2,'王五':xs3}
pen= turtle.Pen() # while True:
screen=turtle.Screen() # print("请输入你想要查询的名字,不查询按Q退出")
size1=textinput("提示","你想要多大的魔法阵呀?") # name=input("请输入你想查询的学生名字:")
size=int(size1) # print('*'*30)
pen.circle(size) # if name in chengji:
pen.circle(size,360,3) # chengji=chengji[name]
pen.circle(size,60) # for k,v in chengji.items():
pen.circle(size,360,3) # print(k,v)
pen.hideturtle() # print('*'*30)
turtle.done() # elif name=='Q' or 'q':
# break
# else:
# print("输入错误,请重新输入!")
in
\ 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