Commit 1eeca66b by BellCodeEditor

save project

parent 32664915
Showing with 14 additions and 11 deletions
def result(): def add_sum():
x=int(input("x")) sb=[]
y=int(input("y")) count=0
print("return前") while True:
a=x+y s=input("输钱,结束w\n")
return(a) if s=="w":
b=x*y break
print("return后") else:
a=result() sb.insert(0,int(s))
print(a) for i in sb:
\ No newline at end of file count=count+i
return(count)
print(str(add_sum()))
\ 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