Commit 257daf15 by BellCodeEditor

save project

parent a89b6ffb
Showing with 11 additions and 4 deletions
def add (x,y):
z = x + y
print('伞兵一号卢本伟',z)
return z
result = add(1,2)
print('家人们,我是伞兵',result)
\ No newline at end of file
...@@ -11,6 +11,6 @@ def gaiya(): ...@@ -11,6 +11,6 @@ def gaiya():
print('伞兵一号卢本伟') print('伞兵一号卢本伟')
else: else:
total.append(unit) total.append(unit)
return total
print(total) w=gaiya()
gaiya() print(w)
\ No newline at end of file \ 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