Commit f6b2c8df by BellCodeEditor

save project

parent 05e7d622
q={}
def a_z():
global q
while True:
x=input("编号:")
if x in q:
print("重复")
continue
if x=="w" :
print("退出")
break
if x=="ok":
print("结果",q)
break
a=int(input("得分:"))
q[x]=a
print(q)
#a_z()
def a_e():
global q
e=0
for v in q.values():
u=v
e+=u
print(e)
import a
q=a.a_z()
s=a.a_e()
\ No newline at end of file
def a(x,y)
z=x+y
print(z)
return e
\ 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