Commit 1b4d209a by BellCodeEditor

auto save

parent dc70412a
Showing with 46 additions and 0 deletions
bef add2Num(a,b):
return a + bef
result = abb2Num(11,22)
print(result)
print(abb2Num(11,22))
def a():
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
try:
a=int(unit)
except:
print("要整数")
else:
total.append(a)
print('*'*20)
return total
jiego=new_input()
print(total)
a()
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