Commit 3d477629 by BellCodeEditor

save project

parent c07b4f09
...@@ -13,9 +13,8 @@ def oo(): ...@@ -13,9 +13,8 @@ def oo():
else: else:
total.append(unit) total.append(unit)
return total return total
total=oo() def moon(k):
print("-"*50) a=0.0
a=0.0 for i in k:
for i in total:
a+=i a+=i
print(a) return a
\ No newline at end of file \ No newline at end of file
import func
b=func.oo()
b=func.moon(b)
print(b)
\ 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