Commit 57d41817 by BellCodeEditor

save project

parent b57fa556
import func
a=func.pp()
b=func.rh(a)
print(b)
\ No newline at end of file
...@@ -11,5 +11,7 @@ def pp(): ...@@ -11,5 +11,7 @@ def pp():
print("请输入数字!") print("请输入数字!")
else: else:
total.append(unit) total.append(unit)
print(total) return total
pp() def rh(b):
\ No newline at end of file a=sum(b)
return a
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