Commit 851a7c68 by BellCodeEditor

save project

parent a2ad0c04
Showing with 6 additions and 14 deletions
def result():
x=int(input("x"))
y=int(input("y"))
print("return前")
a=x+y
return(a)
b=x*y
print("return后")
a = result()
print(a)
\ No newline at end of file
import sdfasfd
sdfasfd.new_input()
\ No newline at end of file
......@@ -8,9 +8,9 @@ def new_input():
break
unit_int=int(unit)
except:
print("输入错误请重输"
print("输入错误请重输")
else:
total.append(unit_int)
for i in total:
a=a+i
return(new_input())
\ No newline at end of file
#return(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