Commit a4d3fe15 by BellCodeEditor

save project

parent 05e7d622
Showing with 30 additions and 0 deletions
def n():
total = []
while True:
unit= input("请输入:")
try:
if unit== 'q':
return total
break
else:
total.append(unit)
except:
print("输入整数奧不写杀了你")
else:
print(total)
a=n()
print(a)
def z(x):
sum=sum+i
print(sum)
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