Commit 51714b4b by BellCodeEditor

save project

parent 2ac7fe96
Showing with 10 additions and 7 deletions
student1 = {'语文':66.6,'数学':66.6,'英语':66.6} student1={'语文':100,'数学':100,'英语':100}
student2 = {'语文':100,'数学':100,'英语':100} student2={'语文':66.6,'数学':66.6,'英语':66.6}
student3 = {'语文':-100,'数学':-100,'英语':-100} student3={'语文':-100,'数学':-100,'英语':-100}
sco = {'作业不全帮':student1,'作业帮':student2,'作业SB帮':student3,} sco={'作业帮':student1,'作业不全帮':student2,'作业SB帮':student3}
name = input("帮派:") name = input("帮派:")
print("*" * 30) print("*" * 30)
if name in sco: if name in sco:
sco = sco[name] sco = sco[name]
for k,v in sco.items(): for k,v in sco:
print(k,v) print(k,v)
print("*" * 30) print("*" * 30)
else: else:
print('尼玛想象力真丰富,重新输!') print("尼玛想象力太丰富了,重新输!")
\ No newline at end of file \ No newline at end of file
a_sb={'a':1,'b':2,'c':3,'d':4}
for i 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