Commit 2fc6d36d by BellCodeEditor

save project

parent 7b923313
Showing with 11 additions and 20 deletions
student1={'语文':100,'数学':100,'英语':100} import turtle
student2={'语文':66.6,'数学':66.6,'英语':66.6} pen=turtle.Pen()
student3={'语文':-100,'数学':-100,'英语':-100} pen.left(45)
sco={'作业帮':student1,'作业不全帮':student2,'作业SB帮':student3} pen.forward(100)
while True: pen.circle(50,180)
print("快输!不想输按q滚") pen.right(90)
name = input("帮派:") pen.circle(50,180)
print("*" * 30) pen.forward(100)
if name in sco: pen.hideturtle()
s = sco[name] turtle.done()
for k,v in s.items(): \ No newline at end of file
print(k,v)
print("*" * 30)
elif name == "q":
break
else:
print("尼玛想象力太丰富了,重新输!")
print("*" * 30)
print("没了!滚!")
\ 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