Commit 3944d191 by BellCodeEditor

save project

parent b4cc80ab
Showing with 3 additions and 20 deletions
def new_input(): import func
total = [] func.new_input()
while True: \ No newline at end of file
unit= input("请输入:")
if unit== 'q':
break
else:
try:
data=int(unit)
except:
print("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
else:
total.append(data)
dete=0
for i in total:
dete=dete+i
print(dete)
new_input()
\ 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