Commit 3a5c01b0 by BellCodeEditor

auto save

parent 24a661ac
Showing with 11 additions and 8 deletions
unit=0
def A():
i=0
def A(qw):
total = []
while True:
unit=inpu= 'q':
breat("请输入:")
if unit=k
unit=input("请输入:")
if unit=='q':
break
else:
try:
unit=int(unit)
......@@ -12,7 +13,9 @@ def A():
print("请输入整数")
else:
total.append(unit)
for q in qw:
i+=q
return i
return total
a=A()
print(a)
\ No newline at end of file
qwe=to
A(total)
\ 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