Commit d8a47d69 by BellCodeEditor

save project

parent b9ea34e7
def nn()
def nn():
total = []
while True:
u= input("请输入:")
......@@ -11,16 +11,16 @@ def nn():
print('重输')
else:
total.append(u)
finally
finally:
print('**************************************')
print(total)
def sun(u):
def sun(un):
cou=0
for i in u:
for i in un:
cou=cou+i
return cou
pr=nn()
pa=sun(pr)
print(str(pr))
# pr=nn()
# pa=sun(pr)
# print(str(pr))
import func
d=func.nn()
s=func.sun(d)
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