Commit 739afce5 by BellCodeEditor

save project

parent dc70412a
Showing with 25 additions and 0 deletions
def skr():
total = []
while True:
try:
unit = int(input("请输入:"))
except:
print('数字')
else:
if unit== -1:
break
else:
total.append(unit)
return total
s=skr()
print(s)
def xj(uk):
for i in uk:
k=1
k+=i
return total
uk = skr()
def xj(na):
for i in na:
k+=i
return
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