Commit 83b065ca by BellCodeEditor

save project

parent 1b1de848
list_a=[]
def abc():
while True:
try:
unit=int(input("请输入:"))
if unit=='q':
break
except:
break
else:
list_a.append(unit)
return(sum(list_a))
\ No newline at end of file
import a
a=a.abc()
print(a)
\ No newline at end of file
import func list_a=[]
new_inport() def abc
import func import func
input(a+b+c)
sum=0
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