Commit 14ffe2ce by BellCodeEditor

auto save

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